https://www.npmjs.com/package/oracle
这是文档指南。
我一字不漏地跟着它。
和cmd.exe - >去项目地点 - > npm install oracle
无效。
我还使用了mssql
模块,它完全正常工作。
这是错误消息:
npm ERR! oracle@0.3.7 install: `node-gyp rebuild` npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the oracle@0.3.7 install script. npm ERR! This is most likely a problem with the oracle 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 oracle npm ERR! There is likely additional logging output above. npm ERR! System Windows_NT 6.1.7601 npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "oracle" npm ERR! cwd C:\Users\user\Desktop\WBPWebService npm ERR! node -v v0.10.33 npm ERR! npm -v 1.4.28 npm ERR! syscall spawn npm ERR! code ELIFECYCLE npm ERR! errno ENOENT npm ERR! not ok code 0