Recently I had the opportunity to attend a Ember.js Louisville Meetup. This was new to me, I had not had a chance to work with this in the past. As this was going to be a “beginners orientation” I thought I would be a good chance to go and learn. Find out if this was something I needed to dig into and learn. Now the jury is still out on Ember.js before any kind of decision could be made it I would need to spend some serious time studying it. The meetup and what I learned did pique my interest. However this is not the point of this post.
I learned a very difficult lesson. Ember.js is not ideal on Windows 10. However I wanted to outline the steps necessary to install it. As I found those directions are not very clear.
So here are the steps to install Ember.js on a Windows 10 machine.
- DO NOT TRY TO INSTALL Ember.js on the Windows 10 Linux SubSystem. You will install it, but Ember.js will throw exception after exception, as there is still an issue in the Linux SubSystem that needs to be resolved.
- Now that is out of the way. You need to install Node.js on your Windows 10 system. To do that, use this Windows Install either 32/64 bit found here: Nodejs.org
- Once you have Node.js install, open Windows Powershell
- Now your run the following two commands
- npm install -g ember-cli
- npm install -g ember-cli-windows
- Now close your Windows Powershell and open a new one.
- Move to a directory where you can create a test Ember Application and do the following commands
- ember new hello
- cd ./hello
- ember server
- From a web browser navigate to http://localhost:4200 and you should that your application is running
Really that is all there is to it. Your ready to go, the main tricks here is to install the Node.js using the windows installer in the Windows Powershell, restart the Windows Powershell, and include the ember-cli-windows plugin. The ember-cli-windows plugin is a special plugin that helps to improve the processing and performance of Ember.js on a Windows system.