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
Following the tutorial to create a new hello-world gatsby application on page: https://www.gatsbyjs.org/tutorial/part-zero/ we are faced with a compilation error when running gatsby develop IF we are on node v.13.10+
Steps to reproduce
On node v13.10.x when using gatsby new hello-world https://github.com/gatsbyjs/gatsby-starter-hello-world as in the tutorial of the official Gatsby page the following dependency @babel/helper-compilation-targets is locked in package-lock.json with the version 7.8.3.
When trying to follow the run instructions we do: cd hello-world gatsby develop
and we are met with the following error:
ERROR #98123 WEBPACK
Generating SSR bundle failed
[BABEL] ~/gatsby-tests/test/.cache/develop-static-entry.js: No "exports" main resolved in ~/gatsby-tests/test/node_modules/@babel/helper-compilation-targets/package.json
File: .cache/develop-static-entry.js
Expected result
The starter hello-world project should run with gatsby develop on localhost.
Actual result
The starter hello-world project gives an error related to a babel helper plugin.
ERROR #98123 WEBPACK
Generating SSR bundle failed
[BABEL] ~/gatsby-tests/test/.cache/develop-static-entry.js: No "exports" main resolved in ~/gatsby-tests/test/node_modules/@babel/helper-compilation-targets/package.json
File: .cache/develop-static-entry.js
Description
Following the tutorial to create a new hello-world gatsby application on page: https://www.gatsbyjs.org/tutorial/part-zero/ we are faced with a compilation error when running
gatsby develop
IF we are on node v.13.10+Steps to reproduce
On node v13.10.x when using
gatsby new hello-world https://github.com/gatsbyjs/gatsby-starter-hello-world
as in the tutorial of the official Gatsby page the following dependency@babel/helper-compilation-targets
is locked inpackage-lock.json
with the version7.8.3
.When trying to follow the run instructions we do:
cd hello-world
gatsby develop
and we are met with the following error:
Expected result
The starter hello-world project should run with
gatsby develop
on localhost.Actual result
The starter hello-world project gives an error related to a babel helper plugin.
Environment
The text was updated successfully, but these errors were encountered: