angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

ng command : module.js : 471

Open zakir-hussain opened this issue 9 years ago • 4 comments

while installing the angular-cli or @angular/cli, it is not getting install completely and this error message: its asking for some VCBuild.exe , .Net framework 2.0 SDK and Visual Studio 2015..... Not understand Why? After this run "ng" :getting Error module.js:471 throw err; ^

Error: Cannot find module 'C:\Users...\AppData\Roaming\npm\node_modules@angular\cli\bin\ng' at Function.Module._resolveFilename (module.js:469:15) at Function.Module._load (module.js:417:25) at Module.runMain (module.js:604:10) at run (bootstrap_node.js:394:7) at startup (bootstrap_node.js:149:9) at bootstrap_node.js:509:3

zakir-hussain avatar Feb 28 '17 14:02 zakir-hussain

I had similar issues, because i was behind a firewall and angular binaries were note able to download and install.

I used another machine and tried to install and it worked.

anantgoldie avatar Feb 28 '17 20:02 anantgoldie

@zakir-hussain Are you still getting the issue with the fix mentioned above?

sumitarora avatar Mar 06 '17 20:03 sumitarora

Dupe of https://github.com/angular/angular-cli/issues/4429 (it's the same cause, node-sass).

filipesilva avatar Mar 14 '17 13:03 filipesilva

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.