Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

“npm config set prefix” I set it to some path ,but I want to change it.Then appeared ENOENT #6592

Closed
ljucas10 opened this issue Oct 29, 2014 · 3 comments
Labels

Comments

@ljucas10
Copy link

0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\\\node.exe',
1 verbose cli   'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'install',
1 verbose cli   'ini' ]
2 info using npm@1.4.28
3 info using node@v0.10.33
4 verbose node symlink C:\Program Files\nodejs\\node.exe
5 error Error: ENOENT, stat 'D:\Virtual Program\node-webkit-v0.9.2-win-ia32"'
6 error If you need help, you may report this *entire* log,
6 error including the npm and node versions, at:
6 error     <http://github.com/npm/npm/issues>
7 error System Windows_NT 6.2.9200
8 error command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "ini"
9 error cwd D:\Virtual Program\node-webkit-v0.9.2-win-ia32
10 error node -v v0.10.33
11 error npm -v 1.4.28
12 error path D:\Virtual Program\node-webkit-v0.9.2-win-ia32"
13 error code ENOENT
14 error errno 34
15 verbose exit [ 34, true ]
@ljucas10 ljucas10 changed the title NPM “npm config set prefix” I set it to some path ,but I want to change it.Then appeared ENOENT Oct 29, 2014
@iarna iarna added the support label Oct 29, 2014
@iarna
Copy link
Contributor

iarna commented Oct 29, 2014

Hi, yeah, this is confusing but fortunately easy to fix, try: npm --prefix="" set prefix ""

@ljucas10
Copy link
Author

Thank you! It has been solved.

@othiym23
Copy link
Contributor

othiym23 commented Nov 1, 2014

Closing as resolved.

@othiym23 othiym23 closed this as completed Nov 1, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants