Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken with npm v3 #30

Open
ChALkeR opened this issue Feb 14, 2016 · 0 comments
Open

Broken with npm v3 #30

ChALkeR opened this issue Feb 14, 2016 · 0 comments

Comments

@ChALkeR
Copy link

ChALkeR commented Feb 14, 2016

    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');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant