package.json的npm安装问题

时间:2018-07-26 09:22:20

标签: npm-install package.json

我的“ npm安装”不起作用。这是我的输出:

npm ERR! file /Users/developer/Everest/everest- 
web/package.json
npm ERR! code EJSONPARSE
npm ERR! JSON.parse Failed to parse json
npm ERR! JSON.parse Unexpected end of JSON input 
while parsing near ''
npm ERR! JSON.parse Failed to parse package.json 
data.
npm ERR! JSON.parse package.json must be actual 
JSON, not just JavaScript.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/developer/.npm/_logs/2018-07- 
26T09_19_26_007Z-debug.log

这是我的package.json:

{
"name": "everest-web",
"version": "1.0.0",
"description": "everest music web application",
"main": "app.js",
"scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Cody Rutscher",
"license": "MIT"

}

我需要添加到路径或package.json中什么?

0 个答案:

没有答案