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

Already on GitHub? Sign in to your account

Could not install a simple file - log below #5131

Closed
MotiNahmany opened this Issue Apr 23, 2014 · 1 comment

Comments

Projects
None yet
2 participants

Cmd Prompt>

c:\node_samples\mmath_user>npm install -g mmath_example
npm http GET https://registry.npmjs.org/mmath_example
npm http 304 https://registry.npmjs.org/mmath_example
npm ERR! Error: ENOENT, chmod 'C:\Users\Moti\AppData\Roaming\npm\node_modules\mm
ath_example\main.js'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>

npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nod
ejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "mmath_example"
npm ERR! cwd c:\node_samples\mmath_user
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.3
npm ERR! path C:\Users\Moti\AppData\Roaming\npm\node_modules\mmath_example\main.
js
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     c:\node_samples\mmath_user\npm-debug.log
npm ERR! not ok code 0

c:\node_samples\mmath_user>dir
 Volume in drive C is OS
 Volume Serial Number is 8E9B-C1A9

 Directory of c:\node_samples\mmath_user

04/23/2014  01:06 AM    <DIR>          .
04/23/2014  01:06 AM    <DIR>          ..
04/23/2014  01:06 AM    <DIR>          node_modules
04/23/2014  01:08 AM             8,718 npm-debug.log
               1 File(s)          8,718 bytes
               3 Dir(s)  41,233,088,512 bytes free

LOG FILE:

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   'link',
1 verbose cli   'mmath_example' ]
2 info using npm@1.4.3
3 info using node@v0.10.26
4 verbose node symlink C:\Program Files\nodejs\\node.exe
5 verbose install where,what [ 'C:\\Users\\Moti\\AppData\\Roaming\\npm',
5 verbose install   [ 'mmath_example' ] ]
6 verbose cache add [ 'mmath_example', null ]
7 verbose cache add name=undefined spec="mmath_example" args=["mmath_example",null]
8 verbose parsed url { protocol: null,
8 verbose parsed url   slashes: null,
8 verbose parsed url   auth: null,
8 verbose parsed url   host: null,
8 verbose parsed url   port: null,
8 verbose parsed url   hostname: null,
8 verbose parsed url   hash: null,
8 verbose parsed url   search: null,
8 verbose parsed url   query: null,
8 verbose parsed url   pathname: 'mmath_example',
8 verbose parsed url   path: 'mmath_example',
8 verbose parsed url   href: 'mmath_example' }
9 silly lockFile e1bd31b2-mmath-example mmath_example
10 verbose lock mmath_example C:\Users\Moti\AppData\Roaming\npm-cache\e1bd31b2-mmath-example.lock
11 silly lockFile e1bd31b2-mmath-example mmath_example
12 silly lockFile e1bd31b2-mmath-example mmath_example
13 verbose addNamed [ 'mmath_example', '' ]
14 verbose addNamed [ null, '*' ]
15 silly lockFile e16bf046-mmath-example mmath_example@
16 verbose lock mmath_example@ C:\Users\Moti\AppData\Roaming\npm-cache\e16bf046-mmath-example.lock
17 silly addNameRange { name: 'mmath_example', range: '*', hasData: false }
18 verbose url raw mmath_example
19 verbose url resolving [ 'https://registry.npmjs.org/', './mmath_example' ]
20 verbose url resolved https://registry.npmjs.org/mmath_example
21 info trying registry request attempt 1 at 01:09:50
22 verbose etag "72GU47AJR7BZQLMT7LHKPIY4"
23 http GET https://registry.npmjs.org/mmath_example
24 http 304 https://registry.npmjs.org/mmath_example
25 silly registry.get cb [ 304,
25 silly registry.get   { date: 'Wed, 23 Apr 2014 05:09:56 GMT',
25 silly registry.get     server: 'Apache',
25 silly registry.get     via: '1.1 varnish',
25 silly registry.get     'last-modified': 'Wed, 23 Apr 2014 05:09:56 GMT',
25 silly registry.get     'cache-control': 'max-age=1',
25 silly registry.get     etag: '"72GU47AJR7BZQLMT7LHKPIY4"',
25 silly registry.get     'x-served-by': 'cache-jfk1033-JFK',
25 silly registry.get     'x-cache': 'MISS',
25 silly registry.get     'x-cache-hits': '0',
25 silly registry.get     'x-timer': 'S1398229796.318190575,VS0,VE14',
25 silly registry.get     vary: 'Accept',
25 silly registry.get     'content-length': '0',
25 silly registry.get     'keep-alive': 'timeout=10, max=50',
25 silly registry.get     connection: 'Keep-Alive' } ]
26 verbose etag mmath_example from cache
27 silly addNameRange number 2 { name: 'mmath_example', range: '*', hasData: true }
28 silly addNameRange versions [ 'mmath_example', [ '0.0.0' ] ]
29 verbose addNamed [ 'mmath_example', '0.0.0' ]
30 verbose addNamed [ '0.0.0', '0.0.0' ]
31 silly lockFile 48142818-mmath-example-0-0-0 mmath_example@0.0.0
32 verbose lock mmath_example@0.0.0 C:\Users\Moti\AppData\Roaming\npm-cache\48142818-mmath-example-0-0-0.lock
33 silly lockFile 48142818-mmath-example-0-0-0 mmath_example@0.0.0
34 silly lockFile 48142818-mmath-example-0-0-0 mmath_example@0.0.0
35 silly lockFile e16bf046-mmath-example mmath_example@
36 silly lockFile e16bf046-mmath-example mmath_example@
37 silly resolved [ { name: 'mmath_example',
37 silly resolved     version: '0.0.0',
37 silly resolved     description: 'math_example package\r ====================',
37 silly resolved     main: 'bin/main.js',
37 silly resolved     bin: { mmath_example: 'main.js' },
37 silly resolved     scripts: { test: 'echo "Error: no test specified" && exit 1' },
37 silly resolved     author: { name: 'MotiNahmany' },
37 silly resolved     license: 'BSD',
37 silly resolved     readme: 'mmath_example package\r\n====================\r\n\r\nThe following functions are available in the mmath_example package.  \r\n- **addition** Adds two numbers and returns the result.  \r\n- **subtraction** Subtracts the second number from the first and returns the result.  \r\n- **multiplication** Multiplies two numbers and returns the result.  \r\n- **division** Divides the first number by the second number and returns the result.  \r\n- **fibonacci** Applies the fibonacci sequence count times and returnts the result.  \r\n',
37 silly resolved     readmeFilename: 'README.md',
37 silly resolved     _id: 'mmath_example@0.0.0',
37 silly resolved     _from: 'mmath_example@' } ]
38 info install mmath_example@0.0.0 into C:\Users\Moti\AppData\Roaming\npm
39 info installOne mmath_example@0.0.0
40 info C:\Users\Moti\AppData\Roaming\npm\node_modules\mmath_example unbuild
41 verbose tar unpack C:\Users\Moti\AppData\Roaming\npm-cache\mmath_example\0.0.0\package.tgz
42 silly lockFile 571e9ef8-g-npm-node-modules-mmath-example tar://C:\Users\Moti\AppData\Roaming\npm\node_modules\mmath_example
43 verbose lock tar://C:\Users\Moti\AppData\Roaming\npm\node_modules\mmath_example C:\Users\Moti\AppData\Roaming\npm-cache\571e9ef8-g-npm-node-modules-mmath-example.lock
44 silly lockFile 5fb6a657--mmath-example-0-0-0-package-tgz tar://C:\Users\Moti\AppData\Roaming\npm-cache\mmath_example\0.0.0\package.tgz
45 verbose lock tar://C:\Users\Moti\AppData\Roaming\npm-cache\mmath_example\0.0.0\package.tgz C:\Users\Moti\AppData\Roaming\npm-cache\5fb6a657--mmath-example-0-0-0-package-tgz.lock
46 silly gunzTarPerm modes [ '755', '644' ]
47 silly gunzTarPerm extractEntry package.json
48 silly gunzTarPerm modified mode [ 'package.json', 438, 420 ]
49 silly gunzTarPerm extractEntry README.md
50 silly gunzTarPerm modified mode [ 'README.md', 438, 420 ]
51 silly gunzTarPerm extractEntry bin/main.js
52 silly gunzTarPerm modified mode [ 'bin/main.js', 438, 420 ]
53 silly gunzTarPerm extractEntry lib/call_counter.js
54 silly gunzTarPerm modified mode [ 'lib/call_counter.js', 438, 420 ]
55 silly gunzTarPerm extractEntry lib/simple_math.js
56 silly gunzTarPerm modified mode [ 'lib/simple_math.js', 438, 420 ]
57 silly lockFile 571e9ef8-g-npm-node-modules-mmath-example tar://C:\Users\Moti\AppData\Roaming\npm\node_modules\mmath_example
58 silly lockFile 571e9ef8-g-npm-node-modules-mmath-example tar://C:\Users\Moti\AppData\Roaming\npm\node_modules\mmath_example
59 silly lockFile 5fb6a657--mmath-example-0-0-0-package-tgz tar://C:\Users\Moti\AppData\Roaming\npm-cache\mmath_example\0.0.0\package.tgz
60 silly lockFile 5fb6a657--mmath-example-0-0-0-package-tgz tar://C:\Users\Moti\AppData\Roaming\npm-cache\mmath_example\0.0.0\package.tgz
61 info preinstall mmath_example@0.0.0
62 verbose readDependencies using package.json deps
63 verbose readDependencies using package.json deps
64 silly resolved []
65 verbose about to build C:\Users\Moti\AppData\Roaming\npm\node_modules\mmath_example
66 info build C:\Users\Moti\AppData\Roaming\npm\node_modules\mmath_example
67 verbose linkStuff [ false,
67 verbose linkStuff   false,
67 verbose linkStuff   false,
67 verbose linkStuff   'C:\\Users\\Moti\\AppData\\Roaming\\npm\\node_modules' ]
68 info linkStuff mmath_example@0.0.0
69 verbose linkBins mmath_example@0.0.0
70 verbose link bins [ { mmath_example: 'main.js' },
70 verbose link bins   'C:\\Users\\Moti\\AppData\\Roaming\\npm\\node_modules\\.bin',
70 verbose link bins   false ]
71 verbose linkMans mmath_example@0.0.0
72 verbose rebuildBundles mmath_example@0.0.0
73 info C:\Users\Moti\AppData\Roaming\npm\node_modules\mmath_example unbuild
74 info preuninstall mmath_example@0.0.0
75 info uninstall mmath_example@0.0.0
76 verbose false,c:\node_samples\mmath_user\node_modules,C:\Users\Moti\AppData\Roaming\npm\node_modules unbuild mmath_example@0.0.0
77 verbose C:\Users\Moti\AppData\Roaming\npm\node_modules\.bin,[object Object] binRoot
78 info postuninstall mmath_example@0.0.0
79 error Error: ENOENT, chmod 'C:\Users\Moti\AppData\Roaming\npm\node_modules\mmath_example\main.js'
80 error If you need help, you may report this *entire* log,
80 error including the npm and node versions, at:
80 error     <http://github.com/npm/npm/issues>
81 error System Windows_NT 6.1.7601
82 error command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "link" "mmath_example"
83 error cwd c:\node_samples\mmath_user
84 error node -v v0.10.26
85 error npm -v 1.4.3
86 error path C:\Users\Moti\AppData\Roaming\npm\node_modules\mmath_example\main.js
87 error code ENOENT
88 error errno 34
89 verbose exit [ 34, true ]
Contributor

othiym23 commented Sep 24, 2014

I believe this issue has been addressed by the resolution to #6043, which is included in the latest stable version of npm, npm@2.0.0. Please upgrade npm and this problem should go away. Thanks for your patience!

@othiym23 othiym23 closed this Sep 24, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment