It ain't easy to install Ember

So I’ve been struggling all morning to get Ember to work.
I followed their guide and installed node.js (v4.2.1), git, and ember.
For some reason PhantomJS gave errors because of an unexpected platform (Windows) ?!

Anyway, who cares about Phantom.

I proceeded to create my first ember app , but I encountered two problems:

  1. “Future versions of Ember CLI will not support v4.2.1. Please update to Node 0.12 or io.js”
    I thought that v4.2.1 would be more recent than 0.12? But maybe I’m wrong. Anyway, this is only a warning for the future it seems, so for now I should be ok?

  2. “git is not installed or not in the PATH”
    I did install git though. So why does ember not see it? Where is this PATH and what value should it contain?
    I googled and searched for it in the ember site, but I found nothing.
    I could of course ask the question in the ember discussion forum, but I’d have to register there, so I thought I’d try here first :smile:

I feel like installing tools is almost never as seamless as it’s supposed to be. I’ve had so many issues with things that should be simple like Git, Vagrant, Node.js, etc. Usually they’re all resolvable, but rarely is it as simple as the 3 or 4 step process it’s touted to be. All environments are different in unpredictable ways, I guess.

  1. According to this is a known issue with each version. Apparently it’s manually fixed on the master branch every release, or something?

  2. You apparently have to add git to the Windows PATH environment variable.
    One of these might help? Depending on where your git install is located, you might have to change the local address path of course…

1 Like

Thanks to @fredburner I started git bash and tried to create the new ember project from that command line.
That resolved the problem of git not being found, but then ended with an error about not having permission to rename a file…

So now I’m going to take another advice by fredburner, and I’ll try to install a VM to run Linux.
But first I’ll have to clean up all the stuff that ember wanted me to install.

I’m sure I’ll be back :wink:

Hey Guido,

I’d also suggest giving Vagrant a try, as it’ll make setting up and managing a VM easier.
The necessary steps (in this order) are:

  1. Install VirtualBox
  2. Install Vagrant
  3. Download a Vagrantfile (a config file for creating a VM - there is one here specifically for creating a Node/Ember VM)
  4. Run vagrant up from a folder containing the Vagrantfile

That last step will take a while the first time you run it, as it has to download a base box (several hundred MB) and run any install scripts etc.


Ok I installed VirtualBox.
Do I have to install Vagrant in Windows as well, or do I have to create a VM in VirtualBox and install Vagrant in there?

Vagrant in Windows. It’s the bit that lets you build the VMs using vagrantfiles, which are like configs files for what to create and how to create it. Example, the vagrantfile that @fretburner linked you - a pre-built vm box with node/ember ready. If all goes well, you’ll never use VirtualBox directly, I suppose.


How do I do this? From what command line? The Windows “command” window?

Yeah, that’s right. All the vagrant commands have to be run from the terminal/command line.

If you encounter permission problems try right-click “run as administrator”

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.