npm install (test) failing

Visto 97 veces
Saltar al primer mensaje no leído

O haya

no leída,
17 mar 2017, 11:12:1417/3/17
a node-java
Hi,

Per some comments in issue #143 that I found I am trying:

cd node_modules
npm install

When I do that, I get:

E:\INSTALL-FILES\Node.js\EXPLODED\node-v6.10.0-win-x64\node_modules>npm install
npm ERR! addLocal Could not install E:\INSTALL-FILES\Node.js\EXPLODED\node-v6.10.0-win-x64\node_modules
npm ERR! code EISDIR
npm ERR! errno -4068
npm ERR! syscall read
npm ERR! eisdir EISDIR: illegal operation on a directory, read
npm ERR! eisdir This is most likely not a problem with npm itself
npm ERR! eisdir and is related to npm not being able to find a package.json in
npm ERR! eisdir a package you are trying to install.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\jimcp\AppData\Roaming\npm-cache\_logs\2017-03-17T15_01_35_814Z-debug.log


Then, when I do:

E:\INSTALL-FILES\Node.js\EXPLODED\node-v6.10.0-win-x64\node_modules>type C:\Users\jimcp\AppData\Roaming\npm-cache\_logs\2017-03-17T15_01_35_814Z-debug.log
0 info it worked if it ends with ok
1 verbose cli [ 'E:\\INSTALL-FILES\\Node.js\\EXPLODED\\node-v6.10.0-win-x64\\node.exe',
1 verbose cli   'E:\\INSTALL-FILES\\Node.js\\EXPLODED\\node-v6.10.0-win-x64\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'install' ]
2 info using n...@4.4.1
3 info using no...@v6.10.0
4 silly loadCurrentTree Starting
5 silly install loadCurrentTree
6 silly install readGlobalPackageData
7 silly fetchPackageMetaData .
8 silly fetchOtherPackageData .
9 silly cache add args [ '.', null ]
10 verbose cache add spec .
11 silly cache add parsed spec Result {
11 silly cache add   raw: '.',
11 silly cache add   scope: null,
11 silly cache add   escapedName: null,
11 silly cache add   name: null,
11 silly cache add   rawSpec: '.',
11 silly cache add   spec: 'E:\\INSTALL-FILES\\Node.js\\EXPLODED\\node-v6.10.0-win-x64\\node_modules',
11 silly cache add   type: 'local' }
12 error addLocal Could not install E:\INSTALL-FILES\Node.js\EXPLODED\node-v6.10.0-win-x64\node_modules
13 silly fetchPackageMetaData Error: EISDIR: illegal operation on a directory, read
13 silly fetchPackageMetaData     at Error (native)
13 silly fetchPackageMetaData  error for . { Error: EISDIR: illegal operation on a directory, read
13 silly fetchPackageMetaData     at Error (native) errno: -4068, code: 'EISDIR', syscall: 'read' }
14 silly rollbackFailedOptional Starting
15 silly rollbackFailedOptional Finishing
16 silly runTopLevelLifecycles Finishing
17 silly install printInstalled
18 verbose stack Error: EISDIR: illegal operation on a directory, read
18 verbose stack     at Error (native)
19 verbose cwd E:\INSTALL-FILES\Node.js\EXPLODED\node-v6.10.0-win-x64\node_modules
20 verbose Windows_NT 10.0.14393
21 verbose argv "E:\\INSTALL-FILES\\Node.js\\EXPLODED\\node-v6.10.0-win-x64\\node.exe" "E:\\INSTALL-FILES\\Node.js\\EXPLODED\\node-v6.10.0-win-x64\\node_modules\\npm\\bin\\npm-cli.js" "install"
22 verbose node v6.10.0
23 verbose npm  v4.4.1
24 error code EISDIR
25 error errno -4068
26 error syscall read
27 error eisdir EISDIR: illegal operation on a directory, read
28 error eisdir This is most likely not a problem with npm itself
28 error eisdir and is related to npm not being able to find a package.json in
28 error eisdir a package you are trying to install.
29 verbose exit [ -4068, true ]

Can anyone tell me why the "npm install" isn't working?

Thanks,
Jim
Responder a todos
Responder al autor
Reenviar
0 mensajes nuevos