[null, "[32mUsing npm to install gh-contribs (contrib-rocket's dependency)[0m
[32mUsing curl+chmod to install spark (contrib-rocket's dependency)[0m
🚀
", "/Users/dasilvacontin/github/dasilvacontin/dotfiles/.atom/packages/atom-contrib-rocket/node_modules/contrib-rocket/contrib-rocket.sh: line 18: npm: command not found
sudo: no tty present and no askpass program specified
/Users/dasilvacontin/github/dasilvacontin/dotfiles/.atom/packages/atom-contrib-rocket/node_modules/contrib-rocket/contrib-rocket.sh: line 4: gh-contribs: command not found
/Users/dasilvacontin/github/dasilvacontin/dotfiles/.atom/packages/atom-contrib-rocket/node_modules/contrib-rocket/contrib-rocket.sh: line 4: spark: command not found
"]
Apparently it's a bug in OSX where, if you don't launch Atom from the terminal, it doesn't correctly inherit the $PATH env var (therefore it cannot find any of those binaries when running contrib-rocket).
Potential fix by using sindresorhus/fix-path, gonna give it a shot.
fixPath is not an acceptable solution. Probably the user needs to fix their PATH in Atom. But we should let them know what's the problem and what's the fix.
It's stuck there for me.
execContribRocket
is getting executed with:Apparently it's a bug in OSX where, if you don't launch Atom from the terminal, it doesn't correctly inherit the $PATH env var (therefore it cannot find any of those binaries when running contrib-rocket).
Potential fix by using
sindresorhus/fix-path
, gonna give it a shot.