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

Problem installing contextify on Windows 7 #14

Closed
chuckls opened this Issue Jan 8, 2012 · 3 comments

Comments

Projects
None yet
4 participants

chuckls commented Jan 8, 2012

Here is the output when attempting to install the latest contextify on Windows 7. There was no npm-debug.log file so there is no additional info I can provide. I got the same problem trying to install contextify@0.0.7.

contextify@0.1.0 preinstall D:\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.1.0
npm ERR! contextify@0.1.0 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.1.0 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" "contextify"
npm ERR! cwd D:
npm ERR! node -v v0.6.7
npm ERR! npm -v 1.1.0-beta-10
npm ERR! code ELIFECYCLE
npm ERR! message contextify@0.1.0 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! D:\npm-debug.log
npm not ok

D:>npm ls
npm WARN htmlparser@1.7.3 package.json: bugs['web'] should probably be bugs['url']
npm WARN underscore@1.2.4 dependencies field should be hash of : pairs

keichii commented Jan 10, 2012

+1

Owner

brianmcd commented Jan 20, 2012

This is because npm doesn't support C++ modules on Windows yet.

See:

I was thinking the other day that maybe I can detect windows in a preinstall script and print a useful error message. I'll try to mess with that next week.

@brianmcd brianmcd closed this Jan 20, 2012

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