Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Error: The "sys" module is now called "util". #128

Open
isstaif opened this issue May 12, 2012 · 1 comment
Open

Error: The "sys" module is now called "util". #128

isstaif opened this issue May 12, 2012 · 1 comment

Comments

@isstaif
Copy link

isstaif commented May 12, 2012

I'm not sure if this issue is the same as issue #125, so I thought I would open a new one.

I installed juggernaut using npm, here is the installation info:

/usr/local/bin/juggernaut -> /usr/local/lib/node_modules/juggernaut/server.js

[email protected] /usr/local/lib/node_modules/juggernaut
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
└── [email protected] ([email protected], [email protected], [email protected])

And when I ran juggernaut I got the following error:

 node.js:249
         throw e; // process.nextTick error, or 'error' event on first tick
               ^
 Error: The "sys" module is now called "util".
     at sys.js:1:69
     at NativeModule.compile (node.js:586:5)
     at Function.require (node.js:554:18)
     at Function._load (module.js:297:25)
     at Module.require (module.js:357:17)
     at require (module.js:373:17)
     at Object.<anonymous> (/usr/local/lib/node_modules/juggernaut/node_modules/redis/lib/util.js:5:20)
     at Module._compile (module.js:444:26)
     at Object..js (module.js:462:10)
     at Module.load (module.js:351:32)

What is the cause of the problem? I'm using Node v0.7.9-pre.

@ssh123
Copy link

ssh123 commented Jun 27, 2012

sys.js:1
throw new Error(
^
Error: The "sys" module is now called "util".
at sys.js:1:69
at NativeModule.compile (node.js:585:5)
at Function.require (node.js:553:18)
at Function._load (module.js:297:25)
at Module.require (module.js:362:17)
at require (module.js:378:17)
at Object. (/usr/local/lib/node_modules/juggernaut/node_modules/redis/lib/util.js:5:20)
at Module._compile (module.js:449:26)
at Object..js (module.js:467:10)
at Module.load (module.js:356:32)
same question!

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

No branches or pull requests

2 participants