Error: Cannot find module '../node_modules/jasmine-core/lib/jasmine-core/jasmine.js'
at Function.Module._resolveFilename (module.js:339:15)
at Function.Module._load (module.js:290:25)
at Module.require (module.js:367:17)
at require (internal/module.js:16:19)
at Object.<anonymous> (./node_modules/minijasminenode2/lib/index.js:5:22)
The jasmine-core module is not in the place where minijasminenode2 tries to find it.
It breaks on this line: /lib/index.js#L5.
This helps:
- var jasmineRequire = require('../node_modules/jasmine-core/lib/jasmine-core/jasmine.js');
+ var jasmineRequire = require('jasmine-core/lib/jasmine-core/jasmine.js');
The
jasmine-core
module is not in the place whereminijasminenode2
tries to find it. It breaks on this line: /lib/index.js#L5.This helps: