I used to run my Angular project in my windows 7 pc. I installed Windows 2016 and all neceserry tools. I need to install the necessary dependencies for my angular project to run
I added
RUN apk update
RUN apk add git
into my dockerfile and it's now working.
This issue is caused because Git is either not installed or not available in a terminal. The give away is this line in your error log:
npm ERR! enoent spawn git ENOENT
Basically this means that the command git
could not be executed because it was not found.
Make sure git is installed and added to your PATH before running this command again.