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

unable to run (Cannot find module 'vm') #56

Closed
starenka opened this issue Aug 19, 2011 · 2 comments
Closed

unable to run (Cannot find module 'vm') #56

starenka opened this issue Aug 19, 2011 · 2 comments
Labels

Comments

@starenka
Copy link

starenka@kosmik2:~$ coffee -v
CoffeeScript version 1.1.2
starenka@kosmik2:~$ coffee

node.js:63
    throw e;
    ^
Error: Cannot find module 'vm'
    at loadModule (node.js:275:15)
    at require (node.js:411:14)
    at Object.<anonymous> (/usr/local/lib/coffee-script/lib/repl.js:6:12)
    at Object.<anonymous> (/usr/local/lib/coffee-script/lib/repl.js:123:4)
    at Module._compile (node.js:462:23)
    at Module._loadScriptSync (node.js:469:10)
    at Module.loadSync (node.js:338:12)
    at loadModule (node.js:283:14)
    at require (node.js:411:14)
    at Object.run (/usr/local/lib/coffee-script/lib/command.js:47:14)
starenka@kosmik2:~$ node --version
v0.2.4
starenka@kosmik2:~$ which node
/usr/local/bin/node
starenka@kosmik2:~$ which coffee
/usr/local/bin/coffee
starenka@kosmik2:~$ echo $PATH
/home/starenka/bin:/usr/local/bin:/usr/bin:/bin:/usr/games
@jashkenas
Copy link
Owner

I'm afraid your version of Node is ancient. Try upgrading to the latest stable release: 0.4.11.

@starenka
Copy link
Author

Yes, sorry. I had 0.4.11 installed, but there was still a symlink for 0.2 in /usr/local/bin. It' works now. Sorry for that :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants