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

can't use command line #23

Open
dv336699 opened this issue Sep 6, 2015 · 2 comments
Open

can't use command line #23

dv336699 opened this issue Sep 6, 2015 · 2 comments

Comments

@dv336699
Copy link

dv336699 commented Sep 6, 2015

I have just installed using npm install -g subtitler, it installed just fine, but when I run subtitler command line says command not found?

I'm on Mac Yosemite.

/Users/diego/npm/bin/subtitler -> /Users/diego/npm/lib/node_modules/subtitler/bin/subtitler.bin.js
subtitler@2.4.0 /Users/diego/npm/lib/node_modules/subtitler
├── argparser@0.2.2
├── q@1.2.0
├── mustache@0.7.0
├── universal-analytics@0.3.4 (async@0.2.10, node-uuid@1.4.3, underscore@1.8.3)
├── xml-mapping@1.2.1 (xml-writer@1.6.0, sax@0.4.2)
├── lodash@3.6.0
└── request@2.61.0 (aws-sign2@0.5.0, forever-agent@0.6.1, caseless@0.11.0, stringstream@0.0.4, oauth-sign@0.8.0, tunnel-agent@0.4.1, isstream@0.1.2, json-stringify-safe@5.0.1, extend@3.0.0, form-data@1.0.0-rc3, qs@4.0.0, node-uuid@1.4.3, tough-cookie@2.0.0, combined-stream@1.0.5, mime-types@2.1.6, http-signature@0.11.0, hawk@3.1.0, bl@1.0.0, har-validator@1.8.0)
@aetheon
Copy link
Contributor

aetheon commented Sep 7, 2015

Hi Diego,

For some reason npm stopped installing things on /usr/local/bin which makes subtitler not visible
on your PATH.

To fix it add ~/npm/bin/ to your PATH by doing:

export PATH=$PATH:~/npm/bin/

Will keep the issue open and search for a permanent solution.

@dv336699
Copy link
Author

dv336699 commented Sep 7, 2015

Ah, my bad.
Worked like a charm.

I think this is an issue with npm tho. So this should be ok for those who face the same issue.

Thank you!

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