After install heroku toolbelt in mac OS X terminal sometimes it’s showed given error
Terminal Command:
$ heroku --version
/usr/local/heroku/lib/heroku/jsplugin.rb:108: warning: Insecure world writable dir /usr/local in PATH, mode 040777
heroku-cli: Adding dependencies...
▸ Get https://cli-assets.heroku.com/node/v5.7.0/node-v5.7.0-darwin-x64.tar.gz: dial tcp: lookup cli-assets.heroku.com on 192.168.192.10:53: cannot unmarshal DNS message
done
heroku-cli: Installing core plugins...
▸
▸ fork/exec bin/node: no such file or directory
heroku-cli: Installing core plugins (retrying)...
▸ Error installing package.
▸
▸ Try running again with GODE_DEBUG=info to see more output.
My OS X version is OS X EI captain so I was follow this instruction To disable System Integrity Protection to solve this problem:
- Boot into the Recovery HD by restarting whilst holding ⌘R.
- Open Terminal (from the Utilities menu).
- Run the following command in Terminal: csrutil disable
- Restart. And change permission to in /usr folder.
Finally Now I am using heroku cmnd properly in my Mac OS.