Skip to content

npm install angular-cli throws node' is not recognized as an internal or external command, operable program or batch file. #7755

@vmylarap

Description

@vmylarap

Bug Report or Feature Request (mark with an x)

- [ ] bug report ->When I run the  command 'npm install angular-cli' then I get
node' is not recognized as an internal or external command,
operable program or batch file, though the nodejs is set in Path environment variable.
- [ ] feature request

Versions.

Repro steps.

The log given by the failure.

C:\Softwares\node-v6.11.3-win-x64\ng -> C:\Softwares\node-v6.11.3-win-x64\node_modules\angular-cli\bin\ng

node-sass@4.5.3 install C:\Softwares\node-v6.11.3-win-x64\node_modules\angular-cli\node_modules\node-sass
node scripts/install.js

'node' is not recognized as an internal or external command,
operable program or batch file.
npm WARN Error: EPERM: operation not permitted, scandir 'C:\Softwares\node-v6.11.3-win-x64\node_modules\angular-cli\node_modules\fsevents\node_modules\getpass\node_modules'
npm WARN at Error (native)
npm WARN { Error: EPERM: operation not permitted, scandir 'C:\Softwares\node-v6.11.3-win-x64\node_modules\angular-cli\node_modules\fsevents\node_modules\getpass\node_modules'
npm WARN at Error (native)
npm WARN stack: 'Error: EPERM: operation not permitted, scandir 'C:\Softwares\node-v6.11.3-win-x64\node_modules\angular-cli\node_modules\fsevents\node_modules\getpass\node_modules'\n at Error (native)',
npm WARN errno: -4048,
npm WARN code: 'EPERM',
npm WARN syscall: 'scandir',
npm WARN path: 'C:\Softwares\node-v6.11.3-win-x64\node_modules\angular-cli\node_modules\fsevents\node_modules\getpass\node_modules' }
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-sass@4.5.3 install: node scripts/install.js
npm ERR! Exit status 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions