-
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
Plugin options error for gatsby-plugin-manifest
and gatsby-remark-images
#27839
Comments
I just updated another project: and got the same error after running
|
gatsby-plugin-manifest
and gatsby-remark-images
Hey! Sorry to hear that you run into problems -- with the merge of #27242 we enforced plugin options and sadly didn't catch all undocumented ones. You see the errors (for still valid options) as they are not in the schema. To unblock you, you can update all dependencies but revert both plugins in question to their previous versions. You can do so by installing it with: npm install [email protected] [email protected] |
@LekoArts thanks for your quick update. I did:
Then got:
So I did (I am on Windows):
Which systematically errors because some process seems to block. So repeated after restarting the pc. then:
But this still gives me:
So what could be wrong with gatsby-react-router-scroll? |
I now tried to also run |
Hey @barbalex, really sorry for the frustration! There's not much worse than not even being able to get a project running. As a quick attempt to help you bypass the plugin validation, one option is a flag to just skip it, so I opened a PR to bypass the check with an environment variable set, (you can follow it here: #27839) hopefully that would you get around this? |
@gillkyle yes, that would do. Thanks a lot! |
Only: I can't even get this project to run any more if I uncomment the offending options. So it will probably not help either |
What I need is a solution to this problem:
|
I've reset the React version to v16, reset the plugins to pre-validation versions and I also get that issue. I see that you forked The dependencies/peerDeps of |
Related to your validation errors:
As far as I can tell,
This is an incorrect validation error, as the |
Thanks for caring!
https://developer.mozilla.org/en-US/docs/Web/Manifest/scope
Thanks! |
I've tried that package. But will try others too. Thanks for the pointer! |
I have tried a few dependencies now, so far with no success. I did see some warnings when installing and updating that seem a bit suspicious:
Guess I will have to downgrade node to ensure there is no problem. |
O.k., I finally managed to solve this error:
I went through all my dependencies. There are many 🙄. And cleaned up. Then I stumbled over a dependency that needed some webpack rules to be altered. While looking at the gatsby-node.js file, I spotted another webpack config entry:
Luckily I had commented why it had been added: #11934 (comment). After adding To be honest I have absolutely no idea why the missing of Thanks @LekoArts for your great pointer! |
Glad to hear that it's working again! |
Today I updated to:
and Thanks to all involved! |
ERROR There was a problem loading plugin "gatsby-plugin-manifest". Perhaps you need to install its package? Solution: |
Description
Two weeks ago I updated my dependencies: FNSKtZH/ae2@1aa2fa0
That is when
yarn dev
stopped working with this error:I checked gatsby-plugin-manifest and found absolutely no mention of scope not being allowed.
I also checked gatsby-remark-images and found nothing to be wrong with wrapperStyle.
As all had worked fine before the update, I decided to roll it back.
But now I am facing this error:
Today (two weeks later) I tried updating to the newest gatsby libs. Hoping the issue had been solved in the meantime. But that only provokes the first issue again.
What I have tried during two full work days several times:
gatsby clean
in all above casesSo meanwhile I am completely out of options. I have no idea how to get this project running again.
Of course this project has grown over years and it is much too complicated to create a simple reproducible case. So I guess I am stuck for good.
I fear that if no one finds a bug in gatsby that solves this problem, my only way out will be to rebuild this huge project with a different tool, like next.js. Which makes me cry.
Environment
Run
gatsby info --clipboard
in your project directory and paste the output here.The text was updated successfully, but these errors were encountered: