isaacs/npm — Issue #2061: npm install jsdom fails
Author: bojanbjelic
Created: 2012-01-19 13:44:37+00:00
State: open

C:\Program Files (x86)\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/cssom
npm http GET https://registry.npmjs.org/contextify
npm http GET https://registry.npmjs.org/request
npm http GET https://registry.npmjs.org/htmlparser
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/htmlparser

> contextify@0.0.7 preinstall C:\Program Files (x86)\nodejs\node_modules\jsdom\node_modules\contextify
> node-waf clean || (exit 0); node-waf configure build

node-waf was unexpected at this time.
npm ERR! error installing contextify@0.0.7
npm ERR! error installing jsdom@0.2.10
npm ERR! Error: ENOENT, no such file or directory 'C:\Program Files (x86)\nodejs\node_modules\jsdom\node_modules\___html
parser.npm\package\runtests.min.js'
npm ERR! Report this *entire* log at:
npm ERR!
npm ERR! or email it to:
npm ERR!
npm ERR!
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files (x86)\\nodejs\\\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\
\npm-cli.js" "install" "jsdom"
npm ERR! cwd C:\Program Files (x86)\nodejs
npm ERR! node -v v0.6.6
npm ERR! npm -v 1.1.0-beta-4
npm ERR! path C:\Program Files (x86)\nodejs\node_modules\jsdom\node_modules\___htmlparser.npm\package\runtests.min.js
npm ERR! fstream_path C:\Program Files (x86)\nodejs\node_modules\jsdom\node_modules\___htmlparser.npm\package\runtests.m
in.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! message ENOENT, no such file or directory 'C:\Program Files (x86)\nodejs\node_modules\jsdom\node_modules\___htm
lparser.npm\package\runtests.min.js'
npm ERR! fstream_stack Object.oncomplete (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\fstream\lib\writer
.js:204:26)
npm ERR! error rolling back jsdom@0.2.10 Error: UNKNOWN, unknown error 'C:\Program Files (x86)\nodejs\node_modules\jsdom
\node_modules\___request.npm\package\tests'
npm ERR! contextify@0.0.7 preinstall: `node-waf clean || (exit 0); node-waf configure build`
npm ERR! `cmd "/c" "node-waf clean || (exit 0); node-waf configure build"` failed with 1
npm ERR!
npm ERR! Failed at the contextify@0.0.7 preinstall 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-waf clean || (exit 0); node-waf configure build
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!
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files (x86)\\nodejs\\\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\
\npm-cli.js" "install" "jsdom"
npm ERR! cwd C:\Program Files (x86)\nodejs
npm ERR! node -v v0.6.6
npm ERR! npm -v 1.1.0-beta-4
npm ERR! code ELIFECYCLE
npm ERR! message contextify@0.0.7 preinstall: `node-waf clean || (exit 0); node-waf configure build`
npm ERR! message `cmd "/c" "node-waf clean || (exit 0); node-waf configure build"` failed with 1
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\Program Files (x86)\nodejs\npm-debug.log
npm not ok

C:\Program Files (x86)\nodejs>