javascript - Why does karma start karma.conf.js always prompt that jasmine-core is not installed, but I have already installed it?
高洛峰
高洛峰 2017-05-24 11:37:12
0
1
611
  1. Why does karma start karma.conf.js always prompt that jasmime-core is not installed?

    Cannot find module 'jasmine-core'
    
    但是我已经安装jasmin-core
    
    "dependencies": {
    "jasmine-core": "^2.6.2",
    "karma": "^1.7.0",
    "karma-jasmine": "^1.1.0"

    }

高洛峰
高洛峰

拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...

reply all(1)
小葫芦

Global installation

npm install -g karma
npm install -g jasmine-core
npm install -g karma-jasmine
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template