Skip to content

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

Closed

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

  1. changed the title [-]No such module: evals[/-] [+]No such module evals in node 0.12 and io.js[/+] on Feb 18, 2015
  2. shakeelmohamed commented on Feb 20, 2015

    @shakeelmohamed

    +1

  3. ericmann commented on Feb 23, 2015

    @ericmann

    +1

  4. jawshooah commented on Feb 23, 2015

    @jawshooah

    👍 This is breaking tests all over.

  5. mreinstein commented on Feb 23, 2015

    @mreinstein
    Collaborator

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

  6. h2non commented on Feb 28, 2015

    @h2non
    Author

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

    Closing

  7. jefflembeck commented on Mar 4, 2015

    @jefflembeck

    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!

  8. Strajk commented on Jul 8, 2015

    @Strajk

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

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