No such module evals in node 0.12 and io.js
h2non opened this issue · 7 comments
h2non commented
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
shakeelmohamed commented
+1
ericmann commented
+1
jawshooah commented
👍 This is breaking tests all over.
mreinstein commented
I'll publish a new version to npm if you submit a good fix.
h2non commented
This issue only affect to 0.7.x
and lower versions.
Therefore upgrade is required.
Closing
jefflembeck commented
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 commented
For me, not worked even in v0.11.16, working fine in v0.10.39