关于Node和npm的入门问题:我有一个包含依赖项列表的package.json文件,我想用npm install安装依赖项。当我运行该命令时,什么也没有发生,我甚至没有收到错误信息,就是完全没有反应 :( 但是,如果我尝试从列表中安装单个软件包,则可以完美地工作... 我没有自己创建package.json文件,所以我不确定"proxyURL"是什么意思...
{
"name": "dss",
"version": "0.0.0",
"repository": {
"type": "git",
"url": "*urlofmyrepo*"
},
"dependencies": {
"bower": "^1.7.7",
"cssmin": "^0.4.3",
"gulp": "^3.9.0",
"gulp-batch": "^1.0.5",
"gulp-concat": "^2.6.0",
"gulp-if": "^2.0.0",
"gulp-jshint": "^2.0.0",
"gulp-rename": "^1.2.2",
"gulp-sass": "^2.2.0",
"gulp-sourcemaps": "^1.6.0",
"gulp-strip-debug": "^1.1.0",
"gulp-uglify": "^1.5.1",
"gulp-util": "^3.0.7",
"gulp-watch": "^4.3.5",
"jshint": "^2.9.1",
"lodash": "^4.2.1",
"minimatch": "^3.0.0",
"sass": "^0.5.0",
"uglifyjs": "^2.4.10",
"underscore": "^1.8.3",
"yuglify": "^0.1.4"
},
"private": true,
"APIMethod": "stub",
"proxyURL": "http://localhost:8000",
"devDependencies": {}
}
有线索吗? 谢谢。
npm install
,并删除"proxyURL": "http://localhost:8000"
。 - Thanh Nguyen Van