今天早上我运行npm install
并node_modules
创建了其中的所有文件。
然后几个小时后,我运行相同的命令相同的 package.json 文件...没有错误,node_modules
已创建,但为空!?
有任何想法吗?
这是我的 package.json,非常规则地通过 npm init 添加tedious
包生成。
{
"name": "tedious",
"version": "2.1.1",
"description": "COnnect to Database",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/tediousjs/tedious.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/tediousjs/tedious/issues"
},
"homepage": "https://github.com/tediousjs/tedious#readme"
}