-
Notifications
You must be signed in to change notification settings - Fork 45
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
onPostBuild Error without details? #91
Comments
hmm, this is a duplicate of #89, the error when there's no Can you try editing your node_modules' version of https://github.com/algolia/gatsby-plugin-algolia/blob/master/gatsby-node.js#L109 and see if it gets there? maybe it should be changed to an error? |
I made the same mistake. I used |
thanks @dorelljames, can you paste the logs (remove private info) of what that looks like? There's already an error which should be thrown there... |
This below is an example of a build that fails. Notice the last few lines:
This below is an example of a build that works. Notice the last few lines:
After that, it continues to work and generate a service worker file. In my |
Thanks @dorelljames. What happens if you change this line to throw new Error? gatsby-plugin-algolia/gatsby-node.js Lines 74 to 76 in 983a49e
|
Perhaps this would help us well:
|
Hmm, I feel like this is a bug in Gatsby. Can you create a bug there with the reproduction where |
I think so, yes. Do you mean I create an issue at Gatsby for this matter? |
Yes, please @dorelljames :) |
Alright. |
I'm trying to integrate this plugin, but when I build my project I get the following errors in my terminal. I'm not sure where the error is or what needs to be fixed. Can you help?
Here is my gatsby-config:
The text was updated successfully, but these errors were encountered: