Ignite: -bash: ignite: command not found

Created on 4 Jan 2018  路  3Comments  路  Source: infinitered/ignite

Hello guys,
I tried

~/projects$ npm install -g ignite-cli
/usr/local/Cellar/node/9.3.0_1/bin/ignite -> /usr/local/Cellar/node/9.3.0_1/lib/node_modules/ignite-cli/bin/ignite

without any complaints.

But when I tried ignite new MyNewAppName. I got the -bash: ignite: command not found message.

I'm using node: 9.3.0, and npm: 5.5.1.

question

Most helpful comment

in terminal run:

open ~/.bash_profile

to open bash_profile, then add your PATH environment variable, example:

export PATH=${PATH}:/Users/cee/.npm-global/bin/

then try again
ignite new MyNewAppName

All 3 comments

Check your PATH environment variable. Make sure /usr/local/Cellar/node/9.3.0_1/bin is there. Homebrew's node installation should be adding that entry.

Agreed with @tastycode . It's a PATH issue. Perhaps the node you're running is different for your user. I know nvm does clever things where people end up in this situation.

in terminal run:

open ~/.bash_profile

to open bash_profile, then add your PATH environment variable, example:

export PATH=${PATH}:/Users/cee/.npm-global/bin/

then try again
ignite new MyNewAppName

Was this page helpful?
0 / 5 - 0 ratings

Related issues

GantMan picture GantMan  路  3Comments

rammmukul picture rammmukul  路  3Comments

GantMan picture GantMan  路  3Comments

shawn-tangsc picture shawn-tangsc  路  3Comments

orozcojair picture orozcojair  路  3Comments