-
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
gatsby develop
crashes with latest versions of Gatsby and gatsby-cli
#25466
Comments
gatsby develop
crashes with latest vesions on gatsby and gatsby-cli gatsby develop
crashes with latest versions of Gatsby and gatsby-cli
Hey! Could you try and run If not, yarn should fix it. We'll try to prioritize this fix. |
Hey! Thanks for the quick response. Maybe it's worth mentioning that I also get an NPM vulnerability report with 922 vulnerabilities, all of them are caused by lodash. Don't know if that's got anything to do with it. Thanks again! |
Could you run this |
I already tried it before, |
I am getting a similar/related error in my local as well as netlify's build process. I did try Error
Repository: https://github.com/sameersegal/vsb20 Environment
|
Not sure if this is related but I'm getting an error: It seems |
Also getting the |
same here: |
Same here, same error |
https://www.npmjs.com/package/babel-plugin-remove-graphql-queries just now updated to 2.9.11. Seems to work now. Must have been NPM propagation delay. |
@riccardolardi @tomthornton @zhenwan @samuelgoddard The babel plugin issue is different, and should now be fixed. See #25475 |
This is working for me now on the last update of the Gatby mono-repo |
Got same issue on Any ways to fix? Gatsby build works only local. |
It’s working for me now 👍 |
For me too! |
Fixed :) Thanks all |
We reverted some changes :) Thank you! |
So... after the non-related issue has been resolved, any news on this issue? |
Hey @wardpeet the original issue that I raised is not solved. Why did you close this? |
any updates on this issue....im having the similiar issue |
Same issue here, any way to exclude |
@marharyta @elton2302 you guys end up figuring out a solution? I have been stuck on this for the past 2 days. |
Hello, Here the details: System:
OS: macOS 10.15.7
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 14.5.0 - ~/.nvm/versions/node/v14.5.0/bin/node
Yarn: 2.4.1 - ~/Projects/project/node_modules/.bin/yarn
npm: 6.14.5 - ~/.nvm/versions/node/v14.5.0/bin/npm
Languages:
Python: 2.7.16 - /usr/bin/python
Browsers:
Chrome: 89.0.4389.90
Edge: 89.0.774.54
Firefox: 85.0.2
Safari: 14.0.3
It throws this specific exception: ❯ yarn workspace @namespace/ui build:prod
success open and validate gatsby-configs - 4.742s
success load plugins - 1.291s
success onPreInit - 0.037s
success delete html and css files from previous builds - 0.009s
success initialize cache - 0.014s
success copy gatsby files - 0.063s
success onPreBootstrap - 0.016s
success createSchemaCustomization - 0.003s
success Checking for changed pages - 0.000s
success source and transform nodes - 1.193s
success building schema - 0.386s
info Total nodes: 435, SitePage nodes: 1 (use --verbose for breakdown)
success createPages - 0.002s
success Checking for changed pages - 0.000s
success createPagesStatefully - 0.111s
success Cleaning up stale page-data - 0.002s
success update schema - 0.035s
success onPreExtractQueries - 0.001s
success extract queries from components - 3.571s
success write out redirect data - 0.123s
success Build manifest and related icons - 0.002s
success onPostBootstrap - 0.005s
info bootstrap finished - 16.547s
success run page queries - 0.016s - 10/10 616.39/s
success write out requires - 0.005s
/Users/mdor/Projects/project/frontend/node_modules/yoga-layout-prebuilt/yoga-layout/build/Release/nbind.js:53
throw ex;
^
Error: module property was removed from Dependency (use compilation.moduleGraph.updateModule(dependency, module) instead)
at EntryDependency.set (/Users/mdor/Projects/project/frontend/node_modules/webpack/lib/Dependency.js:237:9)
at /Users/mdor/Projects/project/frontend/node_modules/gatsby/node_modules/webpack/lib/Compilation.js:1090:24
at /Users/mdor/Projects/project/frontend/node_modules/gatsby/node_modules/webpack/lib/NormalModuleFactory.js:409:6
at /Users/mdor/Projects/project/frontend/node_modules/gatsby/node_modules/webpack/lib/NormalModuleFactory.js:155:13
at AsyncSeriesWaterfallHook.eval [as callAsync] (eval at create (/Users/mdor/Projects/project/frontend/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:18:1)
at AsyncSeriesWaterfallHook.lazyCompileHook (/Users/mdor/Projects/project/frontend/node_modules/tapable/lib/Hook.js:154:20)
at /Users/mdor/Projects/project/frontend/node_modules/gatsby/node_modules/webpack/lib/NormalModuleFactory.js:138:29
at /Users/mdor/Projects/project/frontend/node_modules/gatsby/node_modules/webpack/lib/NormalModuleFactory.js:346:9
at processTicksAndRejections (internal/process/task_queues.js:75:11) |
Im also getting the same error |
Description
Running
gatsby develop
isn't working with latest versions of Gatsby and the cli.I know there's already a lot of issues similar to this one (e.g #23214, #24577, #24589, #24325, #24411, #24577 and more...), but none of them describes my issue and I couldn't find a solution in any of them.
When running
gatsby develop
(npm run develop
) I get this error:I tried some things like running
npm install
andnpm update
. I also tried removing the local installation of the cli and installing it globally (as recommended in one of the issues mentioned above), but got the same result.Steps to reproduce
Run
gatsby develop
with versions:Or checkout the repo here (staging branch).
Expected result
The development server is supposed to run locally.
Actual result
I get the error copied above.
Environment
System:
OS: Windows 10 10.0.18362
CPU: (4) x64 Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
Binaries:
Node: 12.16.0 - C:\Program Files\nodejs\node.EXE
npm: 6.13.4 - C:\Program Files\nodejs\npm.CMD
Languages:
Python: 2.7.17 - C:\Python27\python.EXE
Browsers:
Edge: 44.18362.449.0
npmPackages:
gatsby: ^2.23.14 => 2.23.14
gatsby-background-image: ^0.7.6 => 0.7.6
gatsby-cli: ^2.12.54 => 2.12.54
gatsby-image: ^2.4.11 => 2.4.11
gatsby-plugin-advanced-sitemap: ^1.5.5 => 1.5.5
gatsby-plugin-manifest: ^2.4.16 => 2.4.16
gatsby-plugin-offline: ^2.2.10 => 2.2.10
gatsby-plugin-react-helmet: ^3.3.8 => 3.3.8
gatsby-plugin-sharp: ^2.6.16 => 2.6.16
gatsby-source-filesystem: ^2.0.37 => 2.3.16
gatsby-source-wordpress: ^3.3.17 => 3.3.17
gatsby-transformer-sharp: ^2.5.9 => 2.5.9
Thanks a lot!!
The text was updated successfully, but these errors were encountered: