Try to start tutorial with Gatsby.
D:\formation>gatsby
C:\Users\jlouis.JLG.000\AppData\Roaming\npm\node_modules\gatsby\node_modules\yoga-layout-prebuilt\yoga-layout\build\Release\nbind.js:53
throw ex;
^
Error: Cannot find module 'react'
Require stack:
- C:\Users\jlouis.JLG.000\AppData\Roaming\npm\node_modules\gatsby\node_modules\gatsby-recipes\dist\index.js
- C:\Users\jlouis.JLG.000\AppData\Roaming\npm\node_modules\gatsby\node_modules\gatsby-cli\lib\recipes.js
- C:\Users\jlouis.JLG.000\AppData\Roaming\npm\node_modules\gatsby\node_modules\gatsby-cli\lib\create-cli.js
- C:\Users\jlouis.JLG.000\AppData\Roaming\npm\node_modules\gatsby\node_modules\gatsby-cli\lib\index.js
- C:\Users\jlouis.JLG.000\AppData\Roaming\npm\node_modules\gatsby\dist\bin\gatsby.js
- C:\Users\jlouis.JLG.000\AppData\Roaming\npm\node_modules\gatsby\cli.js
Remove nodeJS from my Windows 10 computer:
Install nodejs v14.11.0 with all defaulted options.
Then
npm i -g gatsby
gatsby
According the doc, I see a help screen...
...But in fact, I get an error stack trace as described above.
Run gatsby info --clipboard in your project directory and paste the output here.
Sorry I cannot, I get the error stacktrace.
Sorry about that - I just opened pull request that reverts the change that caused this ( https://github.com/gatsbyjs/gatsby/pull/26921 )
As a workaround until fix gets merged and published - please do npm install -g [email protected] to use 1 version before the problem
Thank you for the information. I was having similar issues with gatsby clean throwing errors
```/usr/local/lib/node_modules/gatsby-cli/node_modules/yoga-layout-prebuilt/yoga-layout/build/Release/nbind.js:53
throw ex;
^
Error: Cannot find module 'react'
Require stack:
I'm publishing right now - will post another comment when it actually gets published on npm
Published [email protected] which is pretty much the same as [email protected]
Thanks for the QuickFix.
Is it possible to add CIT to the pipeline to be sure that the release still working ?
Most helpful comment
As a workaround until fix gets merged and published - please do
npm install -g [email protected]to use 1 version before the problem