coresmart / persistencejs

persistence.js is an asynchronous Javascript database mapper library. You can use it in the browser, as well on the server (and you can share data models between them).
http://persistencejs.org
1.73k stars 240 forks source link

'node-waf' is not recognized as an internal or external command, with nodejsV0.6.3 #65

Open conanchen opened 12 years ago

conanchen commented 12 years ago

D:\mydir>npm install persistencejs

sqlite@1.0.4 preinstall D:\mydir\node_modules\persistencejs\node _modules\sqlite node-waf configure build

'node-waf' is not recognized as an internal or external command, operable program or batch file. npm ERR! error installing sqlite@1.0.4 Error: sqlite@1.0.4 preinstall: node-waf configure build npm ERR! error installing sqlite@1.0.4 cmd "/c" "node-waf configure build" fai led with 1 npm ERR! error installing sqlite@1.0.4 at ChildProcess. (C:\Progr am Files\nodejs\node_modules\npm\lib\utils\exec.js:49:20) npm ERR! error installing sqlite@1.0.4 at ChildProcess.emit (events.js:70:17 ) npm ERR! error installing sqlite@1.0.4 at maybeExit (child_process.js:359:16 ) npm ERR! error installing sqlite@1.0.4 at Process.onexit (child_process.js:3 95:5) npm ERR! error installing persistencejs@0.2.5 Error: sqlite@1.0.4 preinstall: n ode-waf configure build npm ERR! error installing persistencejs@0.2.5 cmd "/c" "node-waf configure buil d" failed with 1 npm ERR! error installing persistencejs@0.2.5 at ChildProcess. (C :\Program Files\nodejs\node_modules\npm\lib\utils\exec.js:49:20) npm ERR! error installing persistencejs@0.2.5 at ChildProcess.emit (events.j s:70:17) npm ERR! error installing persistencejs@0.2.5 at maybeExit (child_process.js :359:16) npm ERR! error installing persistencejs@0.2.5 at Process.onexit (child_proce ss.js:395:5) npm ERR! Error: ENOENT, no such file or directory 'D:\mydir\node_m odules\persistencejs\node_modules___mysql.npm\package\test\unit\test-client.js'

npm ERR! Report this entire log at: npm ERR! http://github.com/isaacs/npm/issues npm ERR! or email it to: npm ERR! npm-@googlegroups.com npm ERR! npm ERR! System Windows_NT 6.1.7600 npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nod ejs\node_modules\npm\bin\npm-cli.js" "install" "persistencejs" npm ERR! cwd D:\mydir npm ERR! node -v v0.6.3 npm ERR! npm -v 1.1.0-alpha-2 npm ERR! path D:\mydir\node_modules\persistencejs\node_modules_ mysql.npm\package\test\unit\test-client.js npm ERR! fstream_path D:\mydir\node_modules\persistencejs\node_mod ules___mysql.npm\package\test\unit\test-client.js npm ERR! fstream_type File npm ERR! fstreamclass FileWriter npm ERR! code ENOENT npm ERR! message ENOENT, no such file or directory 'D:\mydir\node modules\persistencejs\nodemodulesmysql.npm\package\test\unit\test-client.js ' npm ERR! fstream_stack Object.oncomplete (C:\Program Files\nodejs\node_modules\n pm\node_modules\fstream\lib\writer.js:203:26) npm ERR! sqlite@1.0.4 preinstall: node-waf configure build npm ERR! cmd "/c" "node-waf configure build" failed with 1 npm ERR! npm ERR! Failed at the sqlite@1.0.4 preinstall script. npm ERR! This is most likely a problem with the sqlite package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-waf configure build npm ERR! You can get their info via: npm ERR! npm owner ls sqlite npm ERR! There is likely additional logging output above. npm ERR! npm ERR! System Windows_NT 6.1.7600 npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nod ejs\node_modules\npm\bin\npm-cli.js" "install" "persistencejs" npm ERR! cwd D:\mydir npm ERR! node -v v0.6.3 npm ERR! npm -v 1.1.0-alpha-2 npm ERR! code ELIFECYCLE npm ERR! message sqlite@1.0.4 preinstall: node-waf configure build npm ERR! message cmd "/c" "node-waf configure build" failed with 1 npm ERR! npm ERR! Additional logging details can be found in: npm ERR! D:\mydir\npm-debug.log npm not ok

nihaopaul commented 12 years ago

i've got the same failure on OSX

mithragk commented 12 years ago

Im also getting the same error and tried to find the solution for the above in various site but no hope.. Any other way to install persistencejs???

pixelshaded commented 11 years ago

npm install git://github.com/zefhemel/persistencejs.git. Gives you the git repo instead of the one on npm. Better than nothing.

ifox commented 11 years ago

I have got the same error on OSX with node v0.10.10 and npm v1.2.25. I am also not able to install it via the git url...