我已经开始学习Angular JS了.我正在经历这个,即构建简单的
phonecat app
我正在遵循这些步骤.已下载Node.js.
尝试执行此命令:npm install
发生了错误:
C:> npm install
npm ERR! install Couldn't read dependencies npm ERR! Windows_NT 6.1.7601 npm ERR! argv "C:\\Program Files (x86)\\nodejs\\\\node.exe" "C:\\Program Files ( x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" npm ERR! node v0.12.4 npm ERR! npm v2.10.1 npm ERR! path C:\package.json npm ERR! code EnopACKAGEJSON npm ERR! errno -4058 npm ERR! package.json ENOENT,open 'C:\package.json' npm ERR! package.json This is most likely not a problem with npm itself. npm ERR! package.json npm can't find a package.json file in your current directo ry. npm ERR! Windows_NT 6.1.7601 npm ERR! argv "C:\\Program Files (x86)\\nodejs\\\\node.exe" "C:\\Program Files ( x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" npm ERR! node v0.12.4 npm ERR! npm v2.10.1 npm ERR! Uncaught,unspecified "error" event. npm ERR! npm ERR! If you need help,you may report this error at: npm ERR! <https://github.com/npm/npm/issues> npm ERR! Please include the following file with any support request: npm ERR! C:\npm-debug.log C:\>
解决方法
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。