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

Not Compatible with Node 0.10 #77

Closed
ghost opened this issue Mar 25, 2013 · 6 comments
Closed

Not Compatible with Node 0.10 #77

ghost opened this issue Mar 25, 2013 · 6 comments

Comments

@ghost
Copy link

ghost commented Mar 25, 2013

The error message is:

no autorequire.Loader behavior defined for node 0.10.1.

see: nevir/node-autorequire#9

@luispigu
Copy link

I got a same message. Is it related to the version of Node.js?

@nevir
Copy link
Owner

nevir commented Mar 29, 2013

Yeah, autorequire unfortunately had to re-implement some private code to work. I'm going to switch groc back to the regular require flow, as I don't have time to invest much into my node projects.

For now, a workaround is to install node 0.8 to run groc (tools like nvm make version switching somewhat straightforward)

@jaredly
Copy link

jaredly commented Mar 29, 2013

I just hacked the autorequire file.... right now does something with version === 8, and I changed it to version >= 8

@gnomeontherun
Copy link

@jabapyth what file did you hack?

@rymohr
Copy link

rymohr commented Apr 9, 2013

@jabapyth why not submit a patch? nevir said himself he has't had much time to work on the project lately.

@nevir
Copy link
Owner

nevir commented Apr 9, 2013

That's one patch I won't accept, unfortunately - that check is there to deal with node internals changing over time :(

What I want to do is just drop autorequire as a dependency for groc (switching over to regular require statements), which should avoid this issue for any future node bumps. Would definitely accept a patch for that!

@nevir
Copy link
Owner

nevir commented Apr 14, 2013

This is fixed in v0.4.0

@nevir nevir closed this as completed Apr 14, 2013
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

5 participants