繁体   English   中英

npm安装错误-意外的字符串package.json

[英]npm install error - Unexpected string package.json

大师,我在项目中运行了咕a声。 但是我得到这个错误。

sh-3.2#咕unt声
加载“ assemble.js”任务...错误语法错误:/usr/local/bin/hui/dashboard/package.json:意外的字符串
警告:找不到任务“默认”。 使用--force继续。
由于警告而中止。

这是我的package.json:

{
“ name”:“ Flatkit”,
“ version”:“ 1.0.3”,
“ description”:“带有AngularJS的Bootstrap 4 Web App UI套件”,
“脚本”:{
“ start”:“节点node_modules / http-server / bin / http-server -o”
},
“关键字”:[],
“ repository”:“ https://gitlab.com/Heyflat/flatkit.git ”,
“ author”:“ Flatfull”,
“许可证”:“ Envato常规许可证”,
“依赖项”:{},
“ devDependencies”:{
“ grunt”:“ ^ 0.4.5”,
“ grunt-assemble”:“ ^ 0.4.0”,
“ gump-bump”:“ 0.0.15”,
“ grunt-contrib-clean”:“ ^ 0.6.0”,
“ grunt-contrib-concat”:“ ^ 0.5.0”,
“ grunt-contrib-copy”:“ ^ 0.5.0”,
“ grunt-contrib-cssmin”:“ ^ 0.14.0”,
“ grunt-contrib-htmlmin”:“ ^ 0.3.0”,
“ grunt-contrib-sass”:“ ^ 0.9.2”,
“ grunt-contrib-uglify”:“ ^ 0.5.1”,
“ grunt-contrib-watch”:“ ^ 0.6.1”,
“ grunt-sass”:“ ^ 1.0.0”,
“ grunt-usemin”:“ ^ 3.1.1”,
“ http服务器”:“ ^ 0.6.1”
“ node-sass”:“ 0.9.4”
}
}

任何想法我的package.json有什么问题吗?

“,”被遗漏了。 “ http-server”:“ ^ 0.6.1” ,

    "grunt-usemin": "^3.1.1",
    "http-server": "^0.6.1"
    "node-sass": "0.9.4"

缺少,

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM