latest nodejs #111

Closed
cjloong opened this Issue Aug 11, 2012 · 2 comments

2 participants

@cjloong

Hi
I am trying to run the install that is documented in the main page.

git clone git://github.com/zaach/jison.git
cd jison/examples
Now you’re ready to generate some parsers:

jison calculator.jison

However, I am getting error

cjloong@vangogh:~/test/jison/examples$ jison calculator.jison

Error: require.paths is removed. Use node_modules folders, or the NODE_PATH environment variable instead.
at Function.Module._compile.Object.defineProperty.get (module.js:386:11)
at Object. (/home/cjloong/bin/jison@0.2.11:4:21)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.runMain (module.js:492:10)
at process.startup.processNextTick.process._tickCallback (node.js:244:9)

Hope you can help.

@zaach
Owner

Try updating jison globally first:

npm install jison -g
@zaach
Owner

Reopen if this is still a problem after updating.

@zaach zaach closed this Sep 10, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment