学习 nojs 指南,在安装connect-mongo 的时候出现此错误;代码如下:
PS D:\node> npm install
npm ERR! install Couldn't read dependencies
npm ERR! Error: ENOENT, open 'D:\node\package.json'
npm ERR! If you need help, you may report this log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <npm-[@googlegroups](/user/googlegroups).com>
npm ERR! System Windows_NT 6.2.9200
npm ERR! command "C:\\Program Files (x86)\\nodejs\\\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin
\npm-cli.js" "install"
npm ERR! cwd D:\node
npm ERR! node -v v0.10.21
npm ERR! npm -v 1.3.11
npm ERR! path D:\node\package.json
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! D:\node\npm-debug.log
npm ERR! not ok code 0