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

Already on GitHub? Sign in to your account

sleep example not running on 0.2.6 #7

Closed
santiago opened this Issue Feb 1, 2011 · 1 comment

Comments

Projects
None yet
2 participants

santiago commented Feb 1, 2011

$ node-fibers sleep.js

node.js:63
    throw e;
    ^
TypeError: Object function require(path) {
      return loadModule(path, self);
    } has no method 'resolve'
    at Object.<anonymous> (/usr/local/lib/node/.npm/fibers/0.1.2/package/fibers.js:4:25)
    at Module._compile (node.js:462:23)
    at Module._loadScriptSync (node.js:469:10)
    at Module.loadSync (node.js:338:12)
    at loadModule (node.js:283:14)
    at require (node.js:411:14)
    at Object.<anonymous> (/usr/local/lib/node/fibers/index.js:8:18)
    at Module._compile (node.js:462:23)
    at Module._loadScriptSync (node.js:469:10)
    at Module.loadSync (node.js:338:12)
Owner

laverdet commented Feb 3, 2011

Fix node v0.2.x compatibility

require.resolve is a new feature. v0.3.x is going stable soon, after
which support for v0.2.x will dwindle. This also fixes 32-bit building
on some platforms.

Closed by b11362b

This issue was closed.

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