猿问

karma 运行报错

所需要的插件安装好了!运行的时候就报找不到,请问这是什么原因!

 {

  "name": "karma",

  "version": "1.0.0",

  "description": "",

  "main": "karma.conf.js",

  "dependencies": {

    "karma-chrome-launcher": "^2.2.0",

    "karma": "^1.7.1",

    "karma-jasmine": "^1.1.0",

    "save-dev": "^2.0.0"

  },

  "devDependencies": {

    "jasmine-core": "^2.8.0"

  },

  "scripts": {

    "test": "echo \"Error: no test specified\" && exit 1"

  },

  "author": "",

  "license": "ISC"

}


HUH函数
浏览 656回答 1
1回答

ABOUTYOU

检查下node_modules下有没有jasmine-core,没有的话npm install jasmine-core
随时随地看视频慕课网APP

相关分类

JavaScript
我要回答