Skip to content

Instantly share code, notes, and snippets.

@fupslot
Created February 6, 2018 13:25
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fupslot/3798a882f750c5350d0a2ec333010670 to your computer and use it in GitHub Desktop.
Save fupslot/3798a882f750c5350d0a2ec333010670 to your computer and use it in GitHub Desktop.
elastic beanstalk node command not found
# Amazon Elastic Beanstalk
## Grand the access to node command
1. sudo su
2. vipw
3. nodejs:x:496:494::/tmp:/bin/bash (":wq" to save changes)
4. sudo su nodejs
5: PATH=$PATH:`ls -td /opt/elasticbeanstalk/node-install/node-* | head -1`/bin
6: node -v (enjoy :)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment