Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Having problem Installing all packages #10368

Closed
Plabanm opened this issue Dec 21, 2016 · 3 comments
Closed

Having problem Installing all packages #10368

Plabanm opened this issue Dec 21, 2016 · 3 comments
Labels
npm Issues and PRs related to the npm client dependency or the npm registry.

Comments

@Plabanm
Copy link

Plabanm commented Dec 21, 2016

  • Version:
  • Platform:
  • Subsystem:

Hello,

I was trying to install few packages but all resluting in same issues. I am not sure whats going on.
Recently I have changed my username (admin path).
I tried to update node manually but did not work then I have updated/Reinstalled manually.

I am attaching debug log please help me sort it out.

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   'bower' ]
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.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/fixer.js:2:22)
4 verbose stack     at Module._compile (module.js:571:32)
4 verbose stack     at Object.Module._extensions..js (module.js:580:10)
4 verbose stack     at Module.load (module.js:488:32)
4 verbose stack     at tryModuleLoad (module.js:447:12)
4 verbose stack     at Function.Module._load (module.js:439:3)
5 verbose cwd /Users/plabanm
6 error Darwin 16.1.0
7 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "bower"
8 error node v7.3.0
9 error npm  v3.10.10
10 error code MODULE_NOT_FOUND
11 error Cannot find module 'github-url-from-git'
12 error If you need help, you may report this error at:
12 error     <https://github.com/npm/npm/issues>
13 verbose exit [ 1, true ]

Error on my terminal ..

`npm ERR! Darwin 16.1.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "bower"
npm ERR! node v7.3.0
npm ERR! npm v3.10.10
npm ERR! code MODULE_NOT_FOUND

npm ERR! Cannot find module 'github-url-from-git'
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/issues

npm ERR! Please include the following file with any support request:
npm ERR! /Users/plabanm/npm-debug.log
`
Regards
Plaban

@Plabanm
Copy link
Author

Plabanm commented Dec 21, 2016

Update : dont see ~/.node !

@mscdex
Copy link
Contributor

mscdex commented Dec 21, 2016

Did you try sudo rm -rf /usr/local/lib/node_modules/ and reinstalling node (as suggested by #3540)?

@mscdex mscdex added the npm Issues and PRs related to the npm client dependency or the npm registry. label Dec 21, 2016
@Plabanm
Copy link
Author

Plabanm commented Dec 21, 2016

I just did and seems working. Didn't realise I am duplicating the issue !
Sorry for inconvenience and Thanks for your help.
I am closing this issue.

@Plabanm Plabanm closed this as completed Dec 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
npm Issues and PRs related to the npm client dependency or the npm registry.
Projects
None yet
Development

No branches or pull requests

2 participants