-
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
Invalid options object. Ignore Plugin has been initialized using an options object that does not match the API schema #33216
Comments
Same issue here |
Webpack just released 5.53.0 which introduced this issue about an hour ago webpack/webpack#14265. This seems to be breaking on all Gatsby 3 versions for fresh installs. |
So basically all versions of gatsby can not be used right now? 😱 |
This is only breaking for me on fresh installs since it is pulling the latest version of Webpack. If you have an existing lock file that has a previous version of webpack, you should be good until this is patched. If you are doing a fresh install, until this is fixed, you can use resolutions and choose a version < 5.53.0. |
works for me |
Hi everyone, also getting this error this morning on a fresh GatsbyJS project. |
Same error, after updating |
Hey @barbalex! Are you using the Force Resolutions Plugin for the resolutions property or do you use Yarn or doing something else? |
I am using yarn |
+1 |
1 similar comment
+1 |
This PR made previously optional parameters required webpack/webpack#14211 |
+1 ! |
same error.! don't know what to do. maybe this won't take too long to fix. |
not working either |
The resolutions field only works for nested dependencies if you're using Yarn. Unfortunately I cannot switch over to Yarn. I see there's a commit to pin webpack in Gatsby v3 in the meantime? Will that be installable soon? |
+1, Confirmed. Hopefully, this will be fixed soon. |
Fix PR is merged, waiting on release 👍 |
Just out of interest @graysonhicks, which PR contains the fix? Learning opportunity for me to understand the nuts and bolts of Gatsby a bit better 😄 |
I rather wish I'd come here earlier, I might have some hair left if I had ;) Will chill out now and wait for the new release - thanks @graysonhicks
|
Fixes the underlying webpack issue (I believe this was fixed a few days ago when webpack made the change, and fixed on v4 branch but wasn't backported to v3). |
Fix published with 3.13.1 |
Works for me! |
Yep, looking good. That's absolutely fantastic service, thanks to everyone involved! |
Confirmed as fixed, closing the issue - thank you @Ajwah for reporting! |
thanks for the speedy fix! I've gotten past that issue and now have one with my remark markdown parser (needed for parsing the source code from my dev team) but for now, |
webpack 5.52.1 to prevent gatsbyjs/gatsby#33216 issue
This is to fix this issue: gatsbyjs/gatsby#33216
@pragmaticpat & @graysonhicks I am using Gatsby 3.2 and still experiencing this issue |
@krichey15 You will need 3.13.1+. |
Simple readme Delete php-fpm.conf Delete example.jpg Create LICENSE Update manifest.json First install script version Update README.md Correct manifest.json Corrupted JSON read from /var/cache/yunohost/app_tmp_work_dirs/app_c_1x8jdd/manifest.json Correct manifest.json 2 Corrupted JSON read from /var/cache/yunohost/app_tmp_work_dirs/app_msxp50v0/manifest.json (reason: Expecting value: line 29 column 5 (char 888)) Add checksum Info: DEBUG - + ynh_die '--message=Corrupt source' Add app name Correct checksum Install node v14 instead of 10 Add webpack-cli dependancy Revert "Add webpack-cli dependancy" This reverts commit 038d391. Trying to solve webpack problem Revert "Trying to solve webpack problem" This reverts commit 64e9561. Update install Try --non-interactive option Update install try yarn add webpack --dev Update install Try -save-dev Update install yarn install webpack -D Update install yarn add webpack --dev Update install webpack 5.52.1 to prevent gatsbyjs/gatsby#33216 issue Update install Try removing --production Update install First complete install ? First try slack Update NOTES.md DB name ? Correct db name Correct nginx error Correct .env Add db migration to install script Correct db name and init Setup remove db Correct DB migration Correct DB migration 2 Correct DB name in .env Update README.md
Simple readme Delete php-fpm.conf Delete example.jpg Create LICENSE Update manifest.json First install script version Update README.md Correct manifest.json Corrupted JSON read from /var/cache/yunohost/app_tmp_work_dirs/app_c_1x8jdd/manifest.json Correct manifest.json 2 Corrupted JSON read from /var/cache/yunohost/app_tmp_work_dirs/app_msxp50v0/manifest.json (reason: Expecting value: line 29 column 5 (char 888)) Add checksum Info: DEBUG - + ynh_die '--message=Corrupt source' Add app name Correct checksum Install node v14 instead of 10 Add webpack-cli dependancy Revert "Add webpack-cli dependancy" This reverts commit 038d391. Trying to solve webpack problem Revert "Trying to solve webpack problem" This reverts commit 64e9561. Update install Try --non-interactive option Update install try yarn add webpack --dev Update install Try -save-dev Update install yarn install webpack -D Update install yarn add webpack --dev Update install webpack 5.52.1 to prevent gatsbyjs/gatsby#33216 issue Update install Try removing --production Update install First complete install ? First try slack Update NOTES.md DB name ? Correct db name Correct nginx error Correct .env Add db migration to install script Correct db name and init Setup remove db Correct DB migration Correct DB migration 2 Correct DB name in .env Update README.md
Lifts webpack dependencies to root, which solves an issue where webpack was asking to install webpack-cli. Updates Gatsby to 3.13.1 to solve an issue with webpack not building. gatsbyjs/gatsby#33216 (comment)
Using Gatsby v4.25.7 - just updated to webpack v5.61.0 (also webpack5.88.0) and seeing this error. |
Preliminary Checks
Description
Reproduction Link
No need
Steps to Reproduce
npm init gatsby
(barebones installation. no selections)npm run develop
Expected Result
Opens browser local project
Actual Result
Error
Environment
Config Flags
no. barebones project
The text was updated successfully, but these errors were encountered: