Installation problem......

192 visualitzacions
Ves al primer missatge no llegit

Xujin Liu

no llegida,
13 de maig 2014, 9:14:0313/5/14
a js...@googlegroups.com
c:\nodejs>npm install jsdom
npm http GET https://registry.npmjs.org/jsdom
npm http 304 https://registry.npmjs.org/jsdom
npm http GET https://registry.npmjs.org/nwmatcher
npm http GET https://registry.npmjs.org/contextify
npm http GET https://registry.npmjs.org/cssstyle
npm http GET https://registry.npmjs.org/xmlhttprequest
npm http GET https://registry.npmjs.org/cssom
npm http GET https://registry.npmjs.org/request
npm http GET https://registry.npmjs.org/htmlparser2
npm http 304 https://registry.npmjs.org/nwmatcher
npm http 304 https://registry.npmjs.org/cssom
npm http 304 https://registry.npmjs.org/contextify
npm http 304 https://registry.npmjs.org/request
npm http 304 https://registry.npmjs.org/htmlparser2
npm http 304 https://registry.npmjs.org/cssstyle
npm http 304 https://registry.npmjs.org/xmlhttprequest
npm http GET https://registry.npmjs.org/bindings
npm http GET https://registry.npmjs.org/domelementtype
npm http GET https://registry.npmjs.org/nan
npm http GET https://registry.npmjs.org/aws-sign2
npm http GET https://registry.npmjs.org/domhandler
npm http GET https://registry.npmjs.org/forever-agent
npm http GET https://registry.npmjs.org/json-stringify-safe
npm http GET https://registry.npmjs.org/readable-stream
npm http GET https://registry.npmjs.org/entities
npm http GET https://registry.npmjs.org/domutils
npm http GET https://registry.npmjs.org/mime
npm http GET https://registry.npmjs.org/hawk
npm http GET https://registry.npmjs.org/tunnel-agent
npm http GET https://registry.npmjs.org/qs
npm http GET https://registry.npmjs.org/oauth-sign
npm http GET https://registry.npmjs.org/http-signature
npm http GET https://registry.npmjs.org/node-uuid
npm http GET https://registry.npmjs.org/form-data
npm http 304 https://registry.npmjs.org/bindings
npm http 304 https://registry.npmjs.org/nan
npm http 304 https://registry.npmjs.org/domhandler
npm http GET https://registry.npmjs.org/tough-cookie

> conte...@0.1.8 install c:\nodejs\node_modules\jsdom\node_modules\contextif
> node-gyp rebuild


c:\nodejs\node_modules\jsdom\node_modules\contextify>node "c:\nodejs\node_modu
s\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild
gyp ERR! configure error
gyp ERR! stack Error: spawn ENOENT
gyp ERR! stack     at errnoException (child_process.js:998:11)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:78
34)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "c:\\nodejs\\node_modules\\npm\\node_modules\\node-gyp
bin\\node-gyp.js" "rebuild"
gyp ERR! cwd c:\nodejs\node_modules\jsdom\node_modules\contextify
gyp ERR! node -v v0.10.28
gyp ERR! node-gyp -v v0.13.0
gyp ERR! not ok
npm http 304 https://registry.npmjs.org/domelementtype
npm http 304 https://registry.npmjs.org/aws-sign2
npm http 304 https://registry.npmjs.org/forever-agent
npm http 304 https://registry.npmjs.org/json-stringify-safe
npm http 304 https://registry.npmjs.org/readable-stream
npm http 304 https://registry.npmjs.org/entities
npm http 304 https://registry.npmjs.org/domutils
npm http 304 https://registry.npmjs.org/mime
npm ERR! Error: ENOENT, lstat 'c:\nodejs\node_modules\jsdom\node_modules\cssst
e\lib\properties\webkitMaskBoxImageSource.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:\\nodejs\\\\node.exe" "c:\\nodejs\\node_modules\\npm\\bin\
pm-cli.js" "install" "jsdom"
npm ERR! cwd c:\nodejs
npm ERR! node -v v0.10.28
npm ERR! npm -v 1.4.9
npm ERR! path c:\nodejs\node_modules\jsdom\node_modules\cssstyle\lib\propertie
webkitMaskBoxImageSource.js
npm ERR! fstream_path c:\nodejs\node_modules\jsdom\node_modules\cssstyle\lib\p
perties\webkitMaskBoxImageSource.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack c:\nodejs\node_modules\npm\node_modules\fstream\lib\wri
r.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm http 304 https://registry.npmjs.org/hawk
npm http 304 https://registry.npmjs.org/qs
npm http 304 https://registry.npmjs.org/oauth-sign
npm http 304 https://registry.npmjs.org/http-signature
npm ERR! EEXIST, mkdir 'c:\nodejs\node_modules\jsdom\node_modules\htmlparser2\
de_modules\readable-stream\lib'
File exists: c:\nodejs\node_modules\jsdom\node_modules\htmlparser2\node_module
readable-stream\lib
Move it away, and try again.

npm ERR! System Windows_NT 6.1.7601
npm ERR! command "c:\\nodejs\\\\node.exe" "c:\\nodejs\\node_modules\\npm\\bin\
pm-cli.js" "install" "jsdom"
npm ERR! cwd c:\nodejs
npm ERR! node -v v0.10.28
npm ERR! npm -v 1.4.9
npm ERR! path c:\nodejs\node_modules\jsdom\node_modules\htmlparser2\node_modul
\readable-stream\lib
npm ERR! fstream_path c:\nodejs\node_modules\jsdom\node_modules\htmlparser2\no
_modules\readable-stream\lib\_stream_transform.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code EEXIST
npm ERR! errno 47
npm ERR! fstream_stack c:\nodejs\node_modules\npm\node_modules\fstream\lib\wri
r.js:171:23
npm ERR! fstream_stack c:\nodejs\node_modules\npm\node_modules\mkdirp\index.js
7:53
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, chmod 'c:\nodejs\node_modules\jsdom\node_modules\htmlp
ser2\node_modules\domhandler\test\cases\02-single_tag_1.json'
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:\\nodejs\\\\node.exe" "c:\\nodejs\\node_modules\\npm\\bin\
pm-cli.js" "install" "jsdom"
npm ERR! cwd c:\nodejs
npm ERR! node -v v0.10.28
npm ERR! npm -v 1.4.9
npm ERR! path c:\nodejs\node_modules\jsdom\node_modules\htmlparser2\node_modul
\domhandler\test\cases\02-single_tag_1.json
npm ERR! fstream_path c:\nodejs\node_modules\jsdom\node_modules\htmlparser2\no
_modules\domhandler\test\cases\02-single_tag_1.json
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! fstream_finish_call chmod
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack c:\nodejs\node_modules\npm\node_modules\fstream\lib\wri
r.js:305:19
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm http 304 https://registry.npmjs.org/tunnel-agent
npm http 304 https://registry.npmjs.org/node-uuid
npm http 304 https://registry.npmjs.org/form-data
npm ERR! conte...@0.1.8 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the conte...@0.1.8 install script.
npm ERR! This is most likely a problem with the contextify package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls contextify
npm ERR! There is likely additional logging output above.

npm ERR! System Windows_NT 6.1.7601
npm ERR! command "c:\\nodejs\\\\node.exe" "c:\\nodejs\\node_modules\\npm\\bin\
pm-cli.js" "install" "jsdom"
npm ERR! cwd c:\nodejs
npm ERR! node -v v0.10.28
npm ERR! npm -v 1.4.9
npm ERR! code ELIFECYCLE
npm http 304 https://registry.npmjs.org/tough-cookie
npm http GET https://registry.npmjs.org/combined-stream
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/ctype
npm http GET https://registry.npmjs.org/assert-plus
npm http GET https://registry.npmjs.org/asn1
npm http GET https://registry.npmjs.org/cryptiles
npm http GET https://registry.npmjs.org/punycode
npm http GET https://registry.npmjs.org/sntp
npm http GET https://registry.npmjs.org/boom
npm http GET https://registry.npmjs.org/hoek
npm http 304 https://registry.npmjs.org/combined-stream
npm http 304 https://registry.npmjs.org/async
npm http 304 https://registry.npmjs.org/ctype
npm http 304 https://registry.npmjs.org/assert-plus
npm http 304 https://registry.npmjs.org/asn1
npm http GET https://registry.npmjs.org/delayed-stream
npm http 304 https://registry.npmjs.org/cryptiles
npm http 304 https://registry.npmjs.org/punycode
npm http 304 https://registry.npmjs.org/sntp
npm http 304 https://registry.npmjs.org/boom
npm http 304 https://registry.npmjs.org/hoek
npm http 304 https://registry.npmjs.org/delayed-stream
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     c:\nodejs\npm-debug.log
npm ERR! not ok code 0

Xujin Liu

no llegida,
13 de maig 2014, 9:18:0313/5/14
a js...@googlegroups.com
Anyone has any idea?

Jeremy Lee

no llegida,
11 de jul. 2014, 4:55:4811/7/14
a js...@googlegroups.com
Yes, it's the "Contextify" problem, talked about here:

It's exactly the reason I also can't install or use jsdom. It's the dependency from hell which breaks the entire package.

Respon a tots
Respon a l'autor
Reenvia
0 missatges nous