-
Notifications
You must be signed in to change notification settings - Fork 71
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
-bash: jsfmt: command not found #189
Comments
Hi @antonio97b, can you uninstall jsfmt then post the full output of |
$HOME/.npm-packages/bin/jsfmt -> /Users/Tony/.npm-packages/lib/node_modules/jsfmt/bin/jsfmt On Thu, Jul 28, 2016 at 2:33 PM, Jim Fleming notifications@github.com
|
Is |
Yes, jsfmt is located in $HOME/.npm-packages/bin/. Bower and Ember, which I use every day, are also both located in the same directory next to jsfmt |
This sounds like an npm or a shell issue. I can continue to throw out random suggestions but it should "just work". Does |
Yes, |
Jimfleming, Is it possible I can just alias 'jsfmt' into my bash_profile. If so, what would I need to put in there? |
alias jsfmt="$HOME/.npm-packages/bin/jsfmt" That will work, but to avoid an alias for everything installed through npm you'd want: export PATH="$HOME/.npm-packages/bin:$PATH" Also |
Running
npm install -g jsfmt
on my Mac still results in a-bash: jsfmt: command not found
error in my console. Everything seems to install correctly but I just can't get any response from jsfmt. I don't have a lot of information other than that, if anyone needs anything else to help me figure out the issue then just let me know and I'll get it to you.The text was updated successfully, but these errors were encountered: