Skip to content

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

Description

@h2non

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions