modeset / dotset

Our dot files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

doesn't seem to find newly installed npm packages that are meant to run as executables

jedschneider opened this issue · comments

installed underscore-cli which points the bin here:

/usr/local/share/npm/bin/underscore -> /usr/local/share/npm/lib/node_modules/underscore-cli/bin/underscore

but that does not seem to pickup on the path. i know there were some changes to node and npm a few weeks ago, and not sure if location of bins were part of the change that might not be getting picked up, but other npm executables are in the /usr/local/bin dir (coffee, cake, etc). so not sure if this is a dotest or underscore-cli issue but thought i'd ask here first

This might similar to the gem issue from #1 or it might be the updated npm/node thing from homebrew. Also, did you install it from npm with the -g flag?

i dont think that it is the same issue as the gem reload. i was thinking more that in the npm redo, they changed the expected path of bin files. I looked through the underscore-cli source and didn't see anything that would suggest that they are configuring it to be installed in a specific location, like in their package.json file. so that lead me to think that we needed to add to the $PATH, but it seems it would be a waste if this is the only npm module that is installed globally with executables on in /usr/local/share

this is an underscore-cli problem, you can configure the location of the bin with the package.json file