-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
No longer able to find local plugin after upgrading Gatsby #4274
Comments
Probably related to @m-allanson's PR #3889 |
@KyleAMathews yep, #4275 should fix this :) |
Thanks @tsriram! We really need integration tests :-( |
🤦♂️ Thanks @tsriram! I'm looking forwards to when we have integration tests up and running. |
Using
Tried both local plugin walkthroughs: |
I'd faced a similar issue recently with a local plugin. Code that had been working fine for months started to fail with the following error.
Because I hadn't provided a value for |
Thank you @PawanHegde ! There's no way I would have figured that out on my own after the error started surfacing when upgrading from 2.16.1 to 2.17.7. |
Description
After upgrading to Gatsby 1.9.217 and changing no source code,
develop
andbuild
now fail to find a locally-defined plugin. I've tried two different repos, each with a different local source plugin. The plugin folder is in aplugins
folder at the project root and contains agatsby-node.js
and apackage.json
, the latter with just an empty object as its contents.Environment
Gatsby version: 1.9.217
Node.js version: 9.2.0
Operating System: MacOS Sierra 10.12.6
File contents (if changed):
No changes.
Actual result
Expected behavior
The local plugin should be found and used.
Steps to reproduce
1. Create a local plugin as outlined in the documentation
2. Add it to your
gatsby-config.js
3. Try to
develop
orbuild
The text was updated successfully, but these errors were encountered: