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

Errors in Ubuntu 14.04 64bit #31

Open
vatruica opened this issue May 8, 2014 · 1 comment
Open

Errors in Ubuntu 14.04 64bit #31

vatruica opened this issue May 8, 2014 · 1 comment

Comments

@vatruica
Copy link

vatruica commented May 8, 2014

I have installed Underscore on a Ubuntu 14.04 64 bit machine and i can't use it becaue of the following errors.

When i'm piping, regardless of the argument for underscore, i get the following:

art3@anon:~$ cat test | underscore print --color
Error while parsing STDIN in mode 'lax': Unexpected identifier

When i'm using it standalone i get the following error after the result:
art3@anon:$ underscore reduce --data '[1, 2, 3, 4]' 'total+value'
10
art3@anon:
$
module.js:340
throw err;
^
Error: Cannot find module '/usr/bin/underscore-reduce'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:906:3

Recommended info to display:

art3@anon:$ uname -a
Linux anon 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
art3@anon:
$ node -v
v0.10.28
art3@anon:$ npm -v
1.4.9
art3@anon:
$ npm ls
/home/art3
└── (empty)

NPM LS is showing empty but npm was installed and working properly. Uninstalling it and reinstalling didn't help. Neither with nodejs.

Any ideas?

@JoshOldenburg
Copy link

npm ls is showing an empty output because your cwd is /home/art3, not the directory where underscore-cli is installed. That is normal.

This error is fixed by #29, which hasn't been merged.

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

2 participants