Cannot install via npm
MacOS Sierra, [email protected], [email protected]
I posted this issue also at npm …
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node',
1 verbose cli '/usr/local/bin/npm',
1 verbose cli 'install',
1 verbose cli '-g',
1 verbose cli 'angular-cli' ]
2 info using [email protected]
3 info using [email protected]
4 verbose stack Error: Cannot find module 'github-url-from-git'
4 verbose stack at Function.Module._resolveFilename (module.js:470:15)
4 verbose stack at Function.Module._load (module.js:418:25)
4 verbose stack at Module.require (module.js:498:17)
4 verbose stack at require (internal/module.js:20:19)
4 verbose stack at Object.
I am afraid, a clean-up is a MUST now. But, if you successfully install angular-cli after that, please report back.
I will do the clean-up and report. Thank for supporting
Gern geschehen.
Installed packages for tooling via npm.
Project 'angularreact' successfully created.
Klaus-MacBook-Pro:dev klaus$```
After removing manually all node* occurrences
([helpful link](http://stackabuse.com/how-to-uninstall-node-js-from-mac-osx/)
and reinstalling Node – it works
@KlausEichinger
I am glad it is working for you now. Thanks for letting us know.
By the way, the link is better rendered this way: helpful link, you added an extra '(' in front. You could have added an extra ')' at the end and it would have been correctly rendered, too.
You can see the textual effect of your comment by switching between the "Write" and "Preview" tab, before you submit it.
After the fact, you can always go back and choose the "pen" symbol to edit a comment you wrote.
Glad you were able to find a solution to your issue, closing.
npm ERR! Please include the following file with any support request: npm ERR! C:\amulya\angular cli projects\first\npm-debug.log
can you help me out how to solve this problem
when i amtrying to run angular4 with command npm-serve,it is showing the following error? how to solve this problem..
Specify configs in the ini-formatted file:
C:\Users\Aravind.npmrc
or on the command line via: npm
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.