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

Startup error #44

Closed
ghost opened this issue May 12, 2011 · 5 comments
Closed

Startup error #44

ghost opened this issue May 12, 2011 · 5 comments

Comments

@ghost
Copy link

ghost commented May 12, 2011

Hi,

I've just downloaded a clean copy of 0.2.9 and am getting the following error:

Thu May 12 2011 13:54:47 GMT+0300 (EEST) [error] Could not load package 'jison'. TypeError: Cannot find function forEach in object [object Object].
Error: require error: couldn't find "jison/cli-wrapper"

lib/jison/cli-wrapper.js is there, so I'm not sure what's causing it. Any ideas?

It was working before I updated.

Thanks,

Marcus.

@ghost
Copy link
Author

ghost commented May 12, 2011

I get the same error on versions 0.2.8 and 0.2.9, but 0.2.7 works fine.

@zaach
Copy link
Owner

zaach commented May 12, 2011

Hmm, I am unable to reproduce this. This happens when you try to run jison from the command-line? Also, what version of npm are you using?

package.json did change after 0.2.7, so you could try using the old package.json with the new version of Jison and see if it works.

I'm not sure about the forEach error. Does it give a stack trace?

@ghost
Copy link
Author

ghost commented May 12, 2011

Yes, it happens when I run it from the command-line. I'm not using npm, just narwhal on its own - 0.3.2. No stack trace was given. I copied the whole error message.

The error is fixed by the edit sent in #45.

@ghost ghost closed this as completed May 12, 2011
@zaach
Copy link
Owner

zaach commented May 12, 2011

Awesome, thanks. Can't forget about our narwhalers.

@ghost
Copy link
Author

ghost commented May 12, 2011

:-) The least I can do. ;-)

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

1 participant