相关疑难解决方法(0)

npm找不到package.json

我正在尝试安装我已下载的一些示例Express应用程序的依赖项,但所有应用程序都抛出相同的错误:

c:\node\stylus>npm install -d
npm info it worked if it ends with ok
npm info using npm@1.1.1
npm info using node@v0.6.11
npm ERR! Couldn't read dependencies.

npm ERR! Error: ENOENT, no such file or directory 'c:\node\stylus\package.json'
npm ERR! You may report this 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 (x86)\\nodejs\\\\node.exe" "C:\\Program File
s (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-d"
npm ERR! cwd c:\node\stylus
npm …
Run Code Online (Sandbox Code Playgroud)

node.js npm express

135
推荐指数
7
解决办法
36万
查看次数

package.json中属性"private"的用途是什么?

我正在学习node.js并表达,我想知道./package.json文件中的属性"private"是什么用的?

node.js package.json

129
推荐指数
1
解决办法
3万
查看次数

标签 统计

node.js ×2

express ×1

npm ×1

package.json ×1