npm install不会安装devDependencies
由于某些原因在Windows上运行时,npm install它不会安装devDependencies。AFAIK应该。如果运行npm install --dev devDependencies,则会安装。我不明白为什么npm install也不安装devDependencies,而只安装依赖项。可能是什么原因?我该如何解决? 也许我的package.json有问题吗?如果有帮助,请在下面列出: { "name": "try-brunch", "version": "0.1.0", "private": "true", "devDependencies": { "brunch": "^2.0.4", "cssnano-brunch": "^1.1.5", "javascript-brunch": "^1.8.0", "sass-brunch": "^1.9.2", "uglify-js-brunch": "^1.7.8" }, "dependencies": { "jquery": "^2.1.4" } }