Skip to content
New issue

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

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

Already on GitHub? # to your account

No such module evals in node 0.12 and io.js #291

Closed
h2non opened this issue Feb 13, 2015 · 7 comments
Closed

No such module evals in node 0.12 and io.js #291

h2non opened this issue Feb 13, 2015 · 7 comments

Comments

@h2non
Copy link

h2non commented Feb 13, 2015

Since I upgrade to node 0.12 (also in iojs), the internal low-level module evals is not available, and I'm getting the following error trace:

>> Error: No such module: evals
>>   at Error (native)
>>   at Object.<anonymous> (/Users/h2non/projects/grunt-jade-i18n/node_modules/grunt-contrib-nodeunit/node_modules/nodeunit/lib/utils.js:14:22)
>>   at Module._compile (module.js:460:26)
>>   at Object.Module._extensions..js (module.js:478:10)
>>   at Module.load (module.js:355:32)
>>   at Function.Module._load (module.js:310:12)
>>   at Module.require (module.js:365:17)

Maybe it should infer the node version and try to load the vm.Script in nodeunit/lib/utils.js instead of the process.binding call

@h2non h2non changed the title No such module: evals No such module evals in node 0.12 and io.js Feb 18, 2015
@shakeelmohamed
Copy link

+1

1 similar comment
@ericmann
Copy link

+1

@jawshooah
Copy link

👍 This is breaking tests all over.

@mreinstein
Copy link
Collaborator

I'll publish a new version to npm if you submit a good fix.

@h2non
Copy link
Author

h2non commented Feb 28, 2015

This issue only affect to 0.7.x and lower versions.
Therefore upgrade is required.

Closing

@h2non h2non closed this as completed Feb 28, 2015
@jefflembeck
Copy link

I'm running into this issue on 0.9.1 currently.

edit: nevermind, needed to completely delete my node_modules folder for this and reinstall. Works like a charm now, thanks!

@Strajk
Copy link

Strajk commented Jul 8, 2015

For me, not worked even in v0.11.16, working fine in v0.10.39

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants