Skip to main content
Ask A Question
You’re not receiving notifications from this thread.

Webpacker requires Node.js >= 6.0.0 and you are using 0.10.30

General • Asked by Simon Cooper

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"
-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:

export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin

That should reset you somewhere normal and then you can go fix your bash profile.

Thanks Chris.

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.

Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 30,005+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.