yarn install error
See original GitHub issueNode > v8.9.4 Npm > 5.6.0 Yarn > 1.3.2
After fresh install i got this error
yarn
$ node -r babel-register internals/scripts/CheckNativeDep.js && npm run flow-typed && npm run build-dll && electron-builder install-app-deps && node node_modules/fbjs-scripts/node/check-dev-engines.js package.json
child_process.js:644
throw err;
^
Error: Command failed: npm ls node-sass weak --json
at checkExecSyncError (child_process.js:601:13)
at execSync (child_process.js:641:13)
at __dirname (C:/shop/internals/scripts/CheckNativeDep.js:18:41)
at Object.<anonymous> (C:/shop/internals/scripts/CheckNativeDep.js:7:1)
at Module._compile (module.js:643:30)
at loader (C:\shop\node_modules\babel-register\lib\node.js:144:5)
at Object.require.extensions.(anonymous function) [as .js] (C:\shop\node_modules\babel-register\lib\node.js:154:7)
at Module.load (module.js:556:32)
at tryModuleLoad (module.js:499:12)
at Function.Module._load (module.js:491:3)
error Command failed with exit code 1
npm
WARNING in ./node_modules/formidable/lib/incoming_form.js
1:43-50 Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
@ ./node_modules/formidable/lib/incoming_form.js
@ ./node_modules/formidable/lib/index.js
@ ./node_modules/superagent/lib/node/index.js
@ dll renderer
WARNING in ./node_modules/electron-debug/index.js
81:45-58 Critical dependency: the request of a dependency is an expression
@ ./node_modules/electron-debug/index.js
@ dll renderer
WARNING in ./node_modules/electron-debug/index.js
84:85-106 Critical dependency: the request of a dependency is an expression
@ ./node_modules/electron-debug/index.js
@ dll renderer
ERROR in dll renderer
Module not found: Error: Can't resolve 'react-scripts' in 'C:\shop'
@ dll renderer
ERROR in ./node_modules/bulma/bulma.sass
Module parse failed: Unexpected character '@' (1:0)
You may need an appropriate loader to handle this file type.
| @charset "utf-8"
| /*! bulma.io v0.6.2 | MIT License | github.com/jgthms/bulma */
| @import "sass/utilities/_all"
@ dll renderer
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! electron-react-boilerplate@0.13.1 build-dll: `cross-env NODE_ENV=development node --trace-warnings -r babel-register ./node_modules/webpack/bin/webpack --config webpack.config.renderer.dev.dll.js --colors`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the electron-react-boilerplate@0.13.1 build-dll script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Café Berber\AppData\Roaming\npm-cache\_logs\2018-01-31T15_10_49_471Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! electron-react-boilerplate@0.13.1 postinstall: `node -r babel-register internals/scripts/CheckNativeDep.js && npm run flow-typed && npm run build-dll && electron-builder install-app-deps && node node_modules/fbjs-scripts/node/check-dev-engines.js package.json`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the electron-react-boilerplate@0.13.1 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Error Codes | Yarn - Package Manager
This informational message occurs when Yarn wishes to let you know that a package will need to be built for the installation to...
Read more >Yarn install command error No such file or directory: 'install'
The reason for the No such file or directory error from yarn install is that you are not using the "correct" Yarn: the...
Read more >npm install workd perfectly. yarn install fails. #8493 - GitHub
This looks like you probably don't have node-gyp installed under yarn but you do for npm. You could try running yarn global add...
Read more >Getting error messages when running yarn commands
I am getting this odd error message. I noticed it when I tried to update Redwood. It does not seem to matter what...
Read more >Yarn Install Issue - Google Groups
error An unexpected error occurred: "https://github.com/ryankshaw/jquery.git: Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?". It ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

That’s correct. I’ll try to push a fix for this soon
@amilajack that’s fine for me thank you. And to fix the second issue of @oussamajabnouni we have to handle processing
.sass(actually, we have only.scss) files in the webpack config and it will work.