小编Sti*_*ist的帖子

如何创建package.json文件?

警告:未经处理的水域中的总菜鸟涉水.开始.在Mac终端:

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 directory.

Please include the following file with any support request:
npm ERR!     /Users/stickupartist/portfolio/npm-debug.log
stickup-artists-macbook-pro:portfolio stickupartist$ npm init
This utility will walk you through creating a package.json file.
Run Code Online (Sandbox Code Playgroud)

提到了什么用途?

接下来:

Use `npm install <pkg> --save` afterwards to install a package and
save it as a dependency in the package.json file.

Name: (portfolio)
Run Code Online (Sandbox Code Playgroud)

我键入:

npm install <portfolio> --save …
Run Code Online (Sandbox Code Playgroud)

json node.js npm npm-install

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

标签 统计

json ×1

node.js ×1

npm ×1

npm-install ×1