node和npm的版本是出错的信息是:在浏览器中显示是Cannot GET / 这个我是直接用的npm install 像错误信息中的css-loader我已经下载好了,但是执行npm run dev还是报这个错误请问这是为什么呢?怎么解决呢?
3 回答
拉风的咖菲猫
TA贡献1995条经验 获得超2个赞
It looks like you're missing a peerDependency, this could be because you upgraded from NPM 2 or it could just be that something went wrong with the installation, so simply do:
npm install css-loader --save-dev
If all else fails, simply remove node_modules from your project and do a fresh install: npm install
——————from stackflow
添加回答
举报
0/150
提交
取消