我的IntelliJ没有看到我的业力插件:
WARN [plugin]: Cannot find plugin "karma-ng-extjs-scenario".
Did you forget to install it ?
npm install karma-ng-extjs-scenario --save-dev
WARN [plugin]: Cannot find plugin "karma-jasmine".
Did you forget to install it ?
npm install karma-jasmine --save-dev
WARN [plugin]: Cannot find plugin "karma-chrome-launcher".
Did you forget to install it ?
npm install karma-chrome-launcher --save-dev
WARN [plugin]: Cannot find plugin "karma-firefox-launcher".
Did you forget to install it ?
npm install karma-firefox-launcher --save-dev
我相信这是因为我正在按照一个教程告诉我在全球安装它们 但后来我意识到我想在本地安装它们并保存到package.json 我再次尝试在本地安装它并没有解决它:
$ npm install karma-jasmine --save-dev
npm WARN package.json karma-ie-launcher@0.1.5 No README data
info trying registry request attempt 1 at 21:06:11
http GET https://registry.npmjs.org/karma-jasmine
http 304 https://registry.npmjs.org/karma-jasmine
karma-jasmine@0.1.5 ../../../node_modules/karma-jasmine
然而,我可以从命令行在我的项目中运行业力,并且插件存在于npm模块目录中。
有没有办法解决这个问题,还是需要从头开始重新安装软件包?
如果是这样,最简单的方法是什么?