无法在新机器上启动(甚至初始化)Karma

时间:2015-11-14 21:37:11

标签: node.js npm karma-runner karma-jasmine

安装node.js后,npm,python和karma ...无法运行它,因为我不断收到以下消息:

karma init
module.js:339
    throw err;
    ^

Error: Cannot find module './modules/core.log'
    at Function.Module._resolveFilename (module.js:337:15)
    at Function.Module._load (module.js:287:25)
    at Module.require (module.js:366:17)
    at require (module.js:385:17)
    at Object.<anonymous> (C:\Projects\JsVortex\node_modules\core-js\index.js:15:1)
    at Module._compile (module.js:435:26)
    at Object.Module._extensions..js (module.js:442:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:311:12)
    at Module.require (module.js:366:17)
    at require (module.js:385:17)
    at Object.<anonymous> (C:\Projects\JsVortex\node_modules\karma\lib\file-list.js:10:1)
    at Module._compile (module.js:435:26)
    at Object.Module._extensions..js (module.js:442:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:311:12)

当我检查时:

C:\Projects\JsVortex\node_modules\core-js\index.js

第15行包含以下行:require('./modules/core.log');

任何想法如何解决? 感谢

0 个答案:

没有答案