Ember CLI fails to install


I’m trying to install ember-cli on linux, and the installation gets about halfway then suddenly stops.

nom@nomcodes:/var/www/html$ sudo npm install -g ember-cli@2.4
npm WARN deprecated lodash-node@2.4.1: This package has been discontinued in favor of lodash@^4.0.0.
npm WARN deprecated graceful-fs@3.0.8: graceful-fs version 3 and before will fail on newer node releases. Please update to graceful-fs@^4.0.0 as soon as possible.
extract → gunzTarPerm     ▄ ╢███████████████████████████████████████████████████████████████████████████████████████████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟

Note that sometimes the final progress bar ends on extract:ember-cli-test-in. Of course, ember is unrecognized:

nom@nomcodes:/var/www/html$ ember -v
No command 'ember' found

Using Node v5.7.1, npm 3.6.0, and git 1.9.1

EDIT: It seemed it was installed but my path was misconfigured.


Dear, this may be because your nodejs version is not compatible with the intended version of ember-cli you are trying to install.

Do update nodejs to the latest version based on your vm or os