Open CoderFromCali opened 8 years ago
Hello @CoderFromCali , May i know the nodejs version (nodejs --version)?
And it seems node executable is named node
in OS X and nodejs
in Linux.
:~$ nodejs --version
v0.10.25
:~$ uname -a
Linux <hostname> 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
It seems as though you have an older version of nodejs. I have v4.7.2 and it works I'm in 14.04 as well.
Oops just realised old thread my bad
I tried to run your script on Ubuntu 14.04 (64-bit) and got the following:
There is an issue with nodejs on Ubuntu where node shares the same package name as something else. To try and fix this I edited this line in _/usr/local/lib/nodemodules/litero/index.js
Changed
#!/usr/bin/env node
to
#!/usr/bin/env nodejs
When I ran the script again it failed with the following: