How to fix this: The "sys" module is now called "util". It should have a similar interface.
The group you are posting to is a
Usenet group . Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
From:
Neelesh Bafna <nba... @syntactice.com>
Date: Mon, 12 Dec 2011 12:25:41 +0530
Local: Mon, Dec 12 2011 1:55 am
Subject: How to fix this: The "sys" module is now called "util". It should have a similar interface.
Using - node v0.6.4 -- Regards Neelesh Bafna -Have a great day-
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
Isaac Schlueter <i... @izs.me>
Date: Sun, 11 Dec 2011 23:03:28 -0800
Local: Mon, Dec 12 2011 2:03 am
Subject: Re: [nodejs] How to fix this: The "sys" module is now called "util". It should have a similar interface.
Replace all calls to `require("sys")` with `require("util")`
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
mscdex <msc... @gmail.com>
Date: Sun, 11 Dec 2011 23:03:40 -0800 (PST)
Local: Mon, Dec 12 2011 2:03 am
Subject: Re: How to fix this: The "sys" module is now called "util". It should have a similar interface.
Replace all instances of `require('sys')` with `require('util')`.
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
Joshua Kehn <josh.k... @gmail.com>
Date: Mon, 12 Dec 2011 02:11:21 -0500
Local: Mon, Dec 12 2011 2:11 am
Subject: Re: [nodejs] How to fix this: The "sys" module is now called "util". It should have a similar interface.
I should write a script that does that for all existing npm modules…
Regards,
–Josh ____________________________________ Joshua Kehn | @joshkehn http://joshuakehn.com
On Dec 12, 2011, at 2:03 AM, Isaac Schlueter wrote:
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
Neelesh Bafna <nba... @syntactice.com>
Date: Mon, 12 Dec 2011 12:43:46 +0530
Local: Mon, Dec 12 2011 2:13 am
Subject: Re: [nodejs] How to fix this: The "sys" module is now called "util". It should have a similar interface.
Ya got that point, but it requires to check all modules & do it manually...
was just hoping for some automatic fix...
On Mon, Dec 12, 2011 at 12:41 PM, Joshua Kehn <josh.k
... @gmail.com> wrote:
> I should write a script that does that for all existing npm modules…
> Regards,
> –Josh > ____________________________________ > Joshua Kehn | @joshkehn > http://joshuakehn.com
> On Dec 12, 2011, at 2:03 AM, Isaac Schlueter wrote:
> Replace all calls to `require("sys")` with `require("util")`
> On Sun, Dec 11, 2011 at 22:55, Neelesh Bafna <nba... @syntactice.com> > wrote:
> Using - node v0.6.4
> --
> Regards
> Neelesh Bafna
> -Have a great day-
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to nodejs@googlegroups.com
> To unsubscribe from this group, send email to
> nodejs+unsubscribe@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
> -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to nodejs@googlegroups.com > To unsubscribe from this group, send email to > nodejs+unsubscribe@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en
> -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to nodejs@googlegroups.com > To unsubscribe from this group, send email to > nodejs+unsubscribe@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en
--
Regards
Neelesh Bafna
-Have a great day-
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
Neelesh Bafna <nba... @syntactice.com>
Date: Mon, 12 Dec 2011 12:46:24 +0530
Local: Mon, Dec 12 2011 2:16 am
Subject: Re: [nodejs] How to fix this: The "sys" module is now called "util". It should have a similar interface.
because in error, it doesn't mention which module is doing require('sys')..
On Mon, Dec 12, 2011 at 12:43 PM, Neelesh Bafna <nba... @syntactice.com>wrote:
> Ya got that point, but it requires to check all modules & do it manually...
> was just hoping for some automatic fix...
> On Mon, Dec 12, 2011 at 12:41 PM, Joshua Kehn <josh.k... @gmail.com> wrote:
>> I should write a script that does that for all existing npm modules…
>> Regards,
>> –Josh >> ____________________________________ >> Joshua Kehn | @joshkehn >> http://joshuakehn.com
>> On Dec 12, 2011, at 2:03 AM, Isaac Schlueter wrote:
>> Replace all calls to `require("sys")` with `require("util")`
>> On Sun, Dec 11, 2011 at 22:55, Neelesh Bafna <nba... @syntactice.com> >> wrote:
>> Using - node v0.6.4
>> --
>> Regards
>> Neelesh Bafna
>> -Have a great day-
>> --
>> Job Board: http://jobs.nodejs.org/
>> Posting guidelines:
>> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
>> You received this message because you are subscribed to the Google
>> Groups "nodejs" group.
>> To post to this group, send email to nodejs@googlegroups.com
>> To unsubscribe from this group, send email to
>> nodejs+unsubscribe@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/nodejs?hl=en?hl=en
>> -- >> Job Board: http://jobs.nodejs.org/ >> Posting guidelines: >> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines >> You received this message because you are subscribed to the Google >> Groups "nodejs" group. >> To post to this group, send email to nodejs@googlegroups.com >> To unsubscribe from this group, send email to >> nodejs+unsubscribe@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/nodejs?hl=en?hl=en
>> -- >> Job Board: http://jobs.nodejs.org/ >> Posting guidelines: >> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines >> You received this message because you are subscribed to the Google >> Groups "nodejs" group. >> To post to this group, send email to nodejs@googlegroups.com >> To unsubscribe from this group, send email to >> nodejs+unsubscribe@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/nodejs?hl=en?hl=en
> -- > Regards > Neelesh Bafna > -Have a great day-
--
Regards
Neelesh Bafna
-Have a great day-
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
Axel Kittenberger <axk... @gmail.com>
Date: Mon, 12 Dec 2011 08:59:51 +0100
Local: Mon, Dec 12 2011 2:59 am
Subject: Re: [nodejs] How to fix this: The "sys" module is now called "util". It should have a similar interface.
grep -R "require.*sys" *
On Mon, Dec 12, 2011 at 8:16 AM, Neelesh Bafna <nba
... @syntactice.com> wrote:
> because in error, it doesn't mention which module is doing require('sys')..
> On Mon, Dec 12, 2011 at 12:43 PM, Neelesh Bafna <nba... @syntactice.com> > wrote:
>> Ya got that point, but it requires to check all modules & do it >> manually...
>> was just hoping for some automatic fix...
>> On Mon, Dec 12, 2011 at 12:41 PM, Joshua Kehn <josh.k... @gmail.com> wrote:
>>> I should write a script that does that for all existing npm modules…
>>> Regards,
>>> –Josh >>> ____________________________________ >>> Joshua Kehn | @joshkehn >>> http://joshuakehn.com
>>> On Dec 12, 2011, at 2:03 AM, Isaac Schlueter wrote:
>>> Replace all calls to `require("sys")` with `require("util")`
>>> On Sun, Dec 11, 2011 at 22:55, Neelesh Bafna <nba... @syntactice.com> >>> wrote:
>>> Using - node v0.6.4
>>> --
>>> Regards
>>> Neelesh Bafna
>>> -Have a great day-
>>> --
>>> Job Board: http://jobs.nodejs.org/
>>> Posting guidelines:
>>> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
>>> You received this message because you are subscribed to the Google
>>> Groups "nodejs" group.
>>> To post to this group, send email to nodejs@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> nodejs+unsubscribe@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/nodejs?hl=en?hl=en
>>> -- >>> Job Board: http://jobs.nodejs.org/ >>> Posting guidelines: >>> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines >>> You received this message because you are subscribed to the Google >>> Groups "nodejs" group. >>> To post to this group, send email to nodejs@googlegroups.com >>> To unsubscribe from this group, send email to >>> nodejs+unsubscribe@googlegroups.com >>> For more options, visit this group at >>> http://groups.google.com/group/nodejs?hl=en?hl=en
>>> -- >>> Job Board: http://jobs.nodejs.org/ >>> Posting guidelines: >>> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines >>> You received this message because you are subscribed to the Google >>> Groups "nodejs" group. >>> To post to this group, send email to nodejs@googlegroups.com >>> To unsubscribe from this group, send email to >>> nodejs+unsubscribe@googlegroups.com >>> For more options, visit this group at >>> http://groups.google.com/group/nodejs?hl=en?hl=en
>> -- >> Regards >> Neelesh Bafna >> -Have a great day-
> -- > Regards > Neelesh Bafna > -Have a great day-
> -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to nodejs@googlegroups.com > To unsubscribe from this group, send email to > nodejs+unsubscribe@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
Ben Noordhuis <i... @bnoordhuis.nl>
Date: Mon, 12 Dec 2011 14:03:58 +0100
Local: Mon, Dec 12 2011 8:03 am
Subject: Re: [nodejs] How to fix this: The "sys" module is now called "util". It should have a similar interface.
On Mon, Dec 12, 2011 at 08:13, Neelesh Bafna <nba
... @syntactice.com> wrote:
> Ya got that point, but it requires to check all modules & do it manually...
> was just hoping for some automatic fix...
Semi-automatic:
NODE_DEBUG=sys node script.js
Makes Node print a stack trace that tells you where the sys module is being included.
Fully automatic, potentially dangerous:
perl -i -pe "s/require('sys')/require('util')/g" $(find . -name \*.js)
You must
Sign in before you can post messages.
You do not have the permission required to post.