I'm new to NodeJS. I have excuted the follwing commands. 1.npm install -g create-react-app 2.create-react-app my-app
while executing the 2nd command i got an error like this
Installing packages. This might take a couple of minutes. Installing react, react-dom, and react-scripts...
[email protected] postinstall E:\Projects\HighAvenue\Dashboard\dashboard\node_modules\uglifyjs-webpack-plugin node lib/post_install.js
npm ERR! file bash npm ERR! path bash npm ERR! code ELIFECYCLE npm ERR! errno ENOENT npm ERR! syscall spawn bash npm ERR! [email protected] postinstall:
node lib/post_install.js
npm ERR! spawn bash ENOENT npm ERR! npm ERR! Failed at the [email protected] postinstall 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\Soorya\AppData\Roaming\npm-cache_logs\2018-06-26T05_00_45_645Z-debug.logAborting installation. npm install --save --save-exact --loglevel error react react-dom react-scripts has failed.