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

Incompatibe w/ current git Node.js because 'sys' is renamed to 'util' #84

Closed
SixArm opened this issue Oct 23, 2010 · 2 comments
Closed

Comments

@SixArm
Copy link

SixArm commented Oct 23, 2010

I just git cloned node.js and socket.io for node,
and see this error message:

$ sudo make
./support/expresso/bin/expresso -I lib tests/*.js
The 'sys' module is now called 'util'. It should have a similar interface.

@SixArm
Copy link
Author

SixArm commented Oct 23, 2010

Here's how I fixed it short term:

find -type f | xargs grep "'sys'" -l
| xargs sed -i "s/\bsys\b/util/g"

find -type f | grep js$ | xargs grep "\bsys\b" -l
| "s/\bsys.(debug|error|inherits|inspect|log)\b/util.\1/g"

@SixArm
Copy link
Author

SixArm commented Oct 24, 2010

Blog post about this issue is here:
http://sixarm.com/about/node_js_socket_io_fix_for_sys_and_util.html

darrachequesne added a commit that referenced this issue Jul 4, 2024
JSON.stringify method throws when passed a circular object.
This issue was closed.
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

0 participants