Closed geminiousgoel closed 5 years ago
@filipesilva can you help? Great powers come with some responsibilities.
This seems like a problem with your node/npm and not with Angular CLI.
Please have a look at the fixing npm permissions page, common errors page, npm issue tracker, or open a new issue in that issue tracker if the problem you are experiencing isn't known.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
@filipesilva please help..
On windows machine with this configuration:
OS: windows 8.1 node -v : 8.10.0 npm -v: 5.6.0
unable to install @angular/cli.
Steps done are: C:\Profile\angularMe\quickstart>npm install -g @angular/cli
Output on screen is:
'CALL "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" prefix -g' is not recognized as an internal or external command,operable program or batch file.
C:\Users\hp\AppData\Roaming\npm\ng -> C:\Users\hp\AppData\Roaming\npm\node_modules\@angular\cli\bin\ng
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules\@angular\cli\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-sass@4.7.2 (node_modules\@angular\cli\node_modules\node-sass): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-sass@4.7.2 install:
node scripts/install.js
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: spawn C:\Windows\system32\cmd.exe; ENOENTnpm ERR! file C:\Windows\system32\cmd.exe; npm ERR! path C:\Windows\system32\cmd.exe; npm ERR! code ELIFECYCLE npm ERR! errno ENOENT npm ERR! syscall spawn C:\Windows\system32\cmd.exe; npm ERR! uglifyjs-webpack-plugin@0.4.6 postinstall:
node lib/post_install.js
npm ERR! spawn C:\Windows\system32\cmd.exe; ENOENT npm ERR! npm ERR! Failed at the uglifyjs-webpack-plugin@0.4.6 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\hp\AppData\Roaming\npm-cache_logs\2018-03-20T03_06_00_085Z-debug.log