I've got into bit of a mess. Posted this over on SO too, but no answers of use over there.
I've added Webpacked so I can install React.js. However, I think I've somehow buggered up my PATH and bash profile and I can't seem to resolve it.
Simons-MBP:~ Simon$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" -bash: curl: command not found
Simons-MBP:~ Simon$ open .profile -bash: open: command not found
Completely lost at this stage.
Sounds like you messed up your PATH variable. You might try:
That should reset you somewhere normal and then you can go fix your bash profile.
I've been able to open my profile
$ open .profile from the terminal, and now have the following:
(No idea how that Postgres got there.)
However, the main issue I was trying to solve is still persisting. When trying to upload my app to heroku, it fails due to
Webpacker requires Node.js >= 6.0.0 and you are using 0.10.30 I've got a fresh install of node.js and I have no problems running my app locally.
Should I be updating the $PATH somewhere else?
Turned out it was actually a Heroku issue. I just needed to add a node buildback.
Join 22,346+ developers who get early access to new screencasts, articles, guides, updates, and more.