Hello and thanks for trying the beta, your feedback at this stage is very useful.
I think it’s possible that you may be running into problems because of a wrong configuration.
First, you should not have /api
in your API_URL. Instead, use a value like http://localhost:1337
, and make sure there’s no trailing slash. (ping @bledar)
Second, the source plugin now requires an API token to work. And this token must have full access. Can you make sure that’s what you did @Deviant_Dev?
Also I think I know what you mean when you say the starter is broken. It’s because the create-strapi-starter CLI cannot currently create that API token for you. So you have to generate it, add it to your gatsby config, and restart the frontend server. I’d actually encourage you to check the starter’s configuration if you need a code reference.
Also, remember to restart the Gatsby server every time you make changes to the gatsby-config.js
file, and try running gatsby clean
when you get unexpected errors.
Of course we’ll be happy to make code fixes if you still run into issues after making these changes.