g_b
g_b

Reputation: 12438

Error not found Git - trying Aurelia.js

I'm currently wanting to try out Aurelia.js.
I'm not familiar with node.js and its modules but Aurelia has a sort of starter page here:

Setting up the Project Structure and Build

So I followed the steps, installed node, then gulp, then jspm.

Now after these, you download a skeleton containing a package.json which I understand is what's going to be installed when I run "npm install". However, I can't seem to get this to work.

It says I don't have Git.

So I downloaded Git, installed it, then I check my path environment variables and it has this:

C:\Program Files\nodejs\;C:\Program Files\Git\cmd

But still, npm won't install. The first line immediately says

"addRemoteGit Error: not found: git".

Also, at the bottom, there is a message

"Please check if you have Git installed and in your PATH."

Upvotes: 2

Views: 367

Answers (1)

CodeWizard
CodeWizard

Reputation: 142084

Your machine does not have the git executable in your path.

How to verify if git installed correctly?

  • Open your cmd and type git.
    or
  • Open git bash and type git there.

What to do if git is not installed?

Re-install git and choose this option:

enter image description here

What to do if git is installed?

Open your git bash and inside your project folder run npm install

If its working you shall see something like this:

enter image description here

Upvotes: 3

Related Questions