When i use,
ember new projname
project is getting created with 2.7.0 ember version. I want to create a older version ember project. What i should use? [i checked options that can be used with new command, but none helps for this.]
To create a new project using Ember CLI, use the new command. In preparation for the tutorial in the next section, you can make an app called super-rentals . A new project will be created inside your current directory. You can now go to your super-rentals project directory and start working on it.
install the ember-inspector addon and you'll find all the info you need in the 'info' tab. Show activity on this post.
Ember CLI is built with JavaScript, and requires the most recent LTS version of the Node. js runtime. It also requires dependencies fetched via npm.
Ember has been an enabler of great productivity for many teams for almost a decade and I'm sure it's going to continue to be that. It's changed and improved a lot since its first release and is now in better shape than ever with its Octane edition.
Here's what I ended up doing:
npm init
(enter through some bogus details, doesn't matter, we're going to erase soon)npm install --save-dev [email protected]
ember new app
This got me a node_modules folder with the desired version of ember, and then also allowed me to use the ember cli to generate a project. It will create a folder with the name of the app, of course, and you can safely delete the node_modules folder in the app's parent directory.
This feels like a little bit of a round-about way of doing things, but it worked, and it seemed easier than trying to mess with my global versions.
Hope this helps someone out!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With