Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gatsby Example: No builder-config #84

Closed
danielmaartens-sovtech opened this issue Feb 29, 2020 · 4 comments
Closed

Gatsby Example: No builder-config #84

danielmaartens-sovtech opened this issue Feb 29, 2020 · 4 comments
Assignees

Comments

@danielmaartens-sovtech
Copy link

@steve8708

I am struggling to get the Gatsby Example running - i.e. builder/examples/gatsby.

Following the instructions of the readme npm run dev results in an error indicating that builder-config required on line 1 of gatsby-config.js does not exist.

Are there any other steps I am supposed to follow to get this example up and running that are not documented in the readme ?

@steve8708
Copy link
Contributor

Sorry to hear that @danielmaartens-sovtech - we made an update to the example to use our new plugin and must have missed a file

Well get this fixed first thing Monday, and you can see the recent change that removes that file here

34d1dd4

Using the version before this update should work as expected, or pulling in the missing file yourself from there should help you out, and if this isn't urgent well have this example updated Monday

@danielmaartens-sovtech
Copy link
Author

@steve8708

Thanks for your response.

I noticed that the getGQLOptions function that you import from the missing builder-config.js file is not used in the gatsby-config.js. Its use was removed in the same commit you referenced above.

Is this also a mistake ?

If not, how does the graphql connection get set up ?

@steve8708
Copy link
Contributor

@danielmaartens-sovtech try taking a look here for the fix - will get merged soon but think this should answer your questions above in the meantime!

@steve8708
Copy link
Contributor

Ok, fix is merged! Please reopen if you have any further issues here though, and thanks for reporting @danielmaartens-sovtech

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants