I have followed the following tutorial and have successfully installed everything but ember-cli. http://www.ember-cli.com/#getting-started
- node --help (shows output help messages)
- npm --help (shows output help messages )
- npm install -g bower
- npm install -g phantomjs
All the above work with no problems but when I try to ember new my-new-app
I got the following
$ ember new my-new-app
-bash: ember: command not found
When I do $ npm install -g ember-cli
I get the following
$ npm install -g ember-cli
/Users/MGK/.node/bin/ember -> /Users/MGK/.node/lib/node_modules/ember-cli/bin/ember
[email protected] /Users/MGK/.node/lib/node_modules/ember-cli
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected], quick- [email protected], [email protected], [email protected], [email protected])
Any ideas?
Update, here is my echo $PATH
$ echo $PATH
/Users/MGK/.rvm/gems/ruby-2.1.2/bin:/Users/MGK/.rvm/gems/ruby-2.1.2@global/bin:/Users/MGK/.rvm/rubies/ruby-2.1.2/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/MGK/.rvm/bin
ember new my-new-app
again after runningnpm install -g ember-cli
? – Beetle-bash: $: command not found
– Allongebower
found? Check to make sure the directory containing globally-installed node modules executables is on your path. – Boughtonecho $PATH
– Beetleecho $PATH
output, thanks! – Allonge