You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current Behavior
Upon running npm run develop, gatsby exits with a Webpack Error:
info bootstrap finished - 2.231 s
error There was an error compiling the html.js component for the development server.
See our docs page on debugging HTML builds for help https://gatsby.dev/debug-html
WebpackError: Cannot find module 'core-js/modules/es6.object.assign'
Reproducible demo
Cleanly clone the repo, npm install dependencies, run npm run develop
Expected behavior/code
Gatsby should start the development server without any errors.
Bug Report
Current Behavior
Upon running
npm run develop
, gatsby exits with a Webpack Error:Reproducible demo
Cleanly clone the repo, npm install dependencies, run
npm run develop
Expected behavior/code
Gatsby should start the development server without any errors.
Possible Solution
As pointed out in an issue over at the gatsby repo Error: Cannot find module 'core-js/modules/es6.object.assign', upgrading the gatsby dependency fixes the issue.
Upgrading gatsby also fixed the issue for me.
Additional context/Screenshots
The text was updated successfully, but these errors were encountered: