1
votes

Am using this command "npm install -g ember-cli" to install ember-cli. It installs me version 1.13.x, but I need to install ember version 1.10.0. Is there any command to install it?

1
Change it in bower.json - Patsy Issa
Yeah. Changed it and ran "ember new my-new-app" this command to create sample app called my-new-app. But it is showing "You cannot use the new command inside an ember-cli project." - Sathyanarayanan Ganesan
You call ember new first and then you go into the project it generated, change the bower.json entry of that project and run bower install. Don't forget ember-data. Why would you run ember new inside an already generated project... - Patsy Issa
Thanks for your time. And one more thing, which version of ember-data should I've to give and what are all the dependancies I've to change in it? - Sathyanarayanan Ganesan

1 Answers

2
votes

First delete your node_modules and bower_components folders. Given your package.json and bower.json files are correct, run:

npm install && bower install

if it still does not work, run:

npm install [email protected]

Also I would suggest you don't install it globally in case you have other projects that require different versions of ember cli.