Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENOGIT on trying to start an Ionic2 project #1590

Closed
kemety opened this issue Oct 25, 2016 · 7 comments
Closed

ENOGIT on trying to start an Ionic2 project #1590

kemety opened this issue Oct 25, 2016 · 7 comments

Comments

@kemety
Copy link

kemety commented Oct 25, 2016

I am having problems creating a new Ionic2 project. I followed exactly the Installing Ionic for version 2 found here https://ionicframework.com/docs/v2/getting-started/installation/ and get the below error.

Steps to reproduce:

  1. I ran: ionic start myFirstProject --v2
    2.Same thing happens with: ionic start myFirstProject blank --v2
Creating Ionic app in folder /devops/myFirstProject based on tabs project
Downloading: https://github.com/driftyco/ionic2-app-base/archive/master.zip
[=============================]  100%  0.0s
Downloading: https://github.com/driftyco/ionic2-starter-tabs/archive/master.zip
[=============================]  100%  0.0s
Installing npm packages...
npm WARN addRemoteGit Error: not found: git
npm WARN addRemoteGit     at getNotFoundError (/home/oem/.nvm/versions/node/v6.9.1/lib/node_modules/npm/node_modules/which/which.js:14:12)
npm WARN addRemoteGit     at F (/home/oem/.nvm/versions/node/v6.9.1/lib/node_modules/npm/node_modules/which/which.js:69:19)
npm WARN addRemoteGit     at E (/home/oem/.nvm/versions/node/v6.9.1/lib/node_modules/npm/node_modules/which/which.js:81:29)
npm WARN addRemoteGit     at /home/oem/.nvm/versions/node/v6.9.1/lib/node_modules/npm/node_modules/which/which.js:90:16
npm WARN addRemoteGit     at /home/oem/.nvm/versions/node/v6.9.1/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
npm WARN addRemoteGit     at /home/oem/.nvm/versions/node/v6.9.1/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
npm WARN addRemoteGit     at FSReqWrap.oncomplete (fs.js:123:15)
npm WARN addRemoteGit  driftyco/localforage-cordovasqlitedriver#9803562a61c2172a69f3475f97e98922c0b49ac0 resetting remote /home/oem/.npm/_git-remotes/git-github-com-driftyco-localforage-cordovasqlitedriver-git-9803562a61c2172a69f3475f97e98922c0b49ac0-f7bfd5d6 because of error: { Error: not found: git
npm WARN addRemoteGit     at getNotFoundError (/home/oem/.nvm/versions/node/v6.9.1/lib/node_modules/npm/node_modules/which/which.js:14:12)
npm WARN addRemoteGit     at F (/home/oem/.nvm/versions/node/v6.9.1/lib/node_modules/npm/node_modules/which/which.js:69:19)
npm WARN addRemoteGit     at E (/home/oem/.nvm/versions/node/v6.9.1/lib/node_modules/npm/node_modules/which/which.js:81:29)
npm WARN addRemoteGit     at /home/oem/.nvm/versions/node/v6.9.1/lib/node_modules/npm/node_modules/which/which.js:90:16
npm WARN addRemoteGit     at /home/oem/.nvm/versions/node/v6.9.1/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
npm WARN addRemoteGit     at /home/oem/.nvm/versions/node/v6.9.1/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
npm WARN addRemoteGit     at FSReqWrap.oncomplete (fs.js:123:15) code: 'ENOGIT' }
npm ERR! git clone --template=/home/oem/.npm/_git-remotes/_templates --mirror git://github.com/driftyco/localforage-cordovasqlitedriver.git /home/oem/.npm/_git-remotes/git-github-com-driftyco-localforage-cordovasqlitedriver-git-9803562a61c2172a69f3475f97e98922c0b49ac0-f7bfd5d6: undefined
npm ERR! git clone --template=/home/oem/.npm/_git-remotes/_templates --mirror git://github.com/driftyco/localforage-cordovasqlitedriver.git /home/oem/.npm/_git-remotes/git-github-com-driftyco-localforage-cordovasqlitedriver-git-9803562a61c2172a69f3475f97e98922c0b49ac0-f7bfd5d6: undefined
npm WARN addRemoteGit Error: not found: git
npm WARN addRemoteGit     at getNotFoundError (/home/oem/.nvm/versions/node/v6.9.1/lib/node_modules/npm/node_modules/which/which.js:14:12)
npm WARN addRemoteGit     at F (/home/oem/.nvm/versions/node/v6.9.1/lib/node_modules/npm/node_modules/which/which.js:69:19)
npm WARN addRemoteGit     at E (/home/oem/.nvm/versions/node/v6.9.1/lib/node_modules/npm/node_modules/which/which.js:81:29)
npm WARN addRemoteGit     at /home/oem/.nvm/versions/node/v6.9.1/lib/node_modules/npm/node_modules/which/which.js:90:16
npm WARN addRemoteGit     at /home/oem/.nvm/versions/node/v6.9.1/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
npm WARN addRemoteGit     at /home/oem/.nvm/versions/node/v6.9.1/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
npm WARN addRemoteGit     at FSReqWrap.oncomplete (fs.js:123:15)
npm WARN addRemoteGit  driftyco/localforage-cordovasqlitedriver#9803562a61c2172a69f3475f97e98922c0b49ac0 resetting remote /home/oem/.npm/_git-remotes/git-https-github-com-driftyco-localforage-cordovasqlitedriver-git-9803562a61c2172a69f3475f97e98922c0b49ac0-e715d57c because of error: { Error: not found: git
npm WARN addRemoteGit     at getNotFoundError (/home/oem/.nvm/versions/node/v6.9.1/lib/node_modules/npm/node_modules/which/which.js:14:12)
npm WARN addRemoteGit     at F (/home/oem/.nvm/versions/node/v6.9.1/lib/node_modules/npm/node_modules/which/which.js:69:19)
npm WARN addRemoteGit     at E (/home/oem/.nvm/versions/node/v6.9.1/lib/node_modules/npm/node_modules/which/which.js:81:29)
npm WARN addRemoteGit     at /home/oem/.nvm/versions/node/v6.9.1/lib/node_modules/npm/node_modules/which/which.js:90:16
npm WARN addRemoteGit     at /home/oem/.nvm/versions/node/v6.9.1/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
npm WARN addRemoteGit     at /home/oem/.nvm/versions/node/v6.9.1/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
npm WARN addRemoteGit     at FSReqWrap.oncomplete (fs.js:123:15) code: 'ENOGIT' }
npm ERR! git clone --template=/home/oem/.npm/_git-remotes/_templates --mirror https://github.com/driftyco/localforage-cordovasqlitedriver.git /home/oem/.npm/_git-remotes/git-https-github-com-driftyco-localforage-cordovasqlitedriver-git-9803562a61c2172a69f3475f97e98922c0b49ac0-e715d57c: undefined
npm ERR! git clone --template=/home/oem/.npm/_git-remotes/_templates --mirror https://github.com/driftyco/localforage-cordovasqlitedriver.git /home/oem/.npm/_git-remotes/git-https-github-com-driftyco-localforage-cordovasqlitedriver-git-9803562a61c2172a69f3475f97e98922c0b49ac0-e715d57c: undefined
npm WARN addRemoteGit Error: not found: git
npm WARN addRemoteGit     at getNotFoundError (/home/oem/.nvm/versions/node/v6.9.1/lib/node_modules/npm/node_modules/which/which.js:14:12)
npm WARN addRemoteGit     at F (/home/oem/.nvm/versions/node/v6.9.1/lib/node_modules/npm/node_modules/which/which.js:69:19)
npm WARN addRemoteGit     at E (/home/oem/.nvm/versions/node/v6.9.1/lib/node_modules/npm/node_modules/which/which.js:81:29)
npm WARN addRemoteGit     at /home/oem/.nvm/versions/node/v6.9.1/lib/node_modules/npm/node_modules/which/which.js:90:16
npm WARN addRemoteGit     at /home/oem/.nvm/versions/node/v6.9.1/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
npm WARN addRemoteGit     at /home/oem/.nvm/versions/node/v6.9.1/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
npm WARN addRemoteGit     at FSReqWrap.oncomplete (fs.js:123:15)
npm WARN addRemoteGit  driftyco/localforage-cordovasqlitedriver#9803562a61c2172a69f3475f97e98922c0b49ac0 resetting remote /home/oem/.npm/_git-remotes/git-github-com-driftyco-localforage-cordovasqlitedriver-git-9803562a61c2172a69f3475f97e98922c0b49ac0-97e37af2 because of error: { Error: not found: git
npm WARN addRemoteGit     at getNotFoundError (/home/oem/.nvm/versions/node/v6.9.1/lib/node_modules/npm/node_modules/which/which.js:14:12)
npm WARN addRemoteGit     at F (/home/oem/.nvm/versions/node/v6.9.1/lib/node_modules/npm/node_modules/which/which.js:69:19)
npm WARN addRemoteGit     at E (/home/oem/.nvm/versions/node/v6.9.1/lib/node_modules/npm/node_modules/which/which.js:81:29)
npm WARN addRemoteGit     at /home/oem/.nvm/versions/node/v6.9.1/lib/node_modules/npm/node_modules/which/which.js:90:16
npm WARN addRemoteGit     at /home/oem/.nvm/versions/node/v6.9.1/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
npm WARN addRemoteGit     at /home/oem/.nvm/versions/node/v6.9.1/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
npm WARN addRemoteGit     at FSReqWrap.oncomplete (fs.js:123:15) code: 'ENOGIT' }
npm ERR! git clone --template=/home/oem/.npm/_git-remotes/_templates --mirror git@github.com:driftyco/localforage-cordovasqlitedriver.git /home/oem/.npm/_git-remotes/git-github-com-driftyco-localforage-cordovasqlitedriver-git-9803562a61c2172a69f3475f97e98922c0b49ac0-97e37af2: undefined
npm ERR! git clone --template=/home/oem/.npm/_git-remotes/_templates --mirror git@github.com:driftyco/localforage-cordovasqlitedriver.git /home/oem/.npm/_git-remotes/git-github-com-driftyco-localforage-cordovasqlitedriver-git-9803562a61c2172a69f3475f97e98922c0b49ac0-97e37af2: undefined
npm ERR! Linux 4.4.0-21-generic
npm ERR! argv "/home/oem/.nvm/versions/node/v6.9.1/bin/node" "/home/oem/.nvm/versions/node/v6.9.1/bin/npm" "install"
npm ERR! node v6.9.1
npm ERR! npm  v3.10.9
npm ERR! code ENOGIT

npm ERR! not found: git
npm ERR! 
npm ERR! Failed using git.
npm ERR! This is most likely not a problem with npm itself.
npm ERR! Please check if you have git installed and in your PATH.

npm ERR! Please include the following file with any support request:
npm ERR!     /alfdev/myFirstProject/npm-debug.log
Error with start undefined
Error Initializing app: There was an error with the spawned command: npminstall
There was an error with the spawned command: npminstall
Caught exception:
 undefined 

Mind letting us know? https://github.com/driftyco/ionic-cli/issues

@karlpatrickespiritu
Copy link

karlpatrickespiritu commented Oct 26, 2016

npm WARN addRemoteGit Error: not found: git

You probably don't have git installed on your machine.

Download from: https://git-scm.com/

@nagarajns
Copy link

Same Problem Here

@MaheshJalodara
Copy link

Creating Ionic app in folder E:\Practice\Angular Practice\Angular 2\Ionic2FirstA
pp based on blank project
Downloading: https://github.com/driftyco/ionic2-app-base/archive/master.zip
[=============================] 100% 0.0s
Downloading: https://github.com/driftyco/ionic2-starter-blank/archive/master.zip

[=============================] 100% 0.0s
Installing npm packages...
Error with start undefined
Error Initializing app: There was an error with the spawned command: npminstall
There was an error with the spawned command: npminstall
Caught exception:
undefined

Mind letting us know? https://github.com/driftyco/ionic-cli/issues

@kemety
Copy link
Author

kemety commented Oct 26, 2016

Installing git did the trick

@kemety kemety closed this as completed Oct 26, 2016
@MaheshJalodara
Copy link

give soluation...

ionic 2 project not dowanload

give me example

On 26 October 2016 at 19:16, kemety notifications@github.com wrote:

Installing git did the trick


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#1590 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AP1j13IDvSfws3xFGaL0QyG-xAiscrvOks5q31nAgaJpZM4KgiTX
.

@kemety
Copy link
Author

kemety commented Oct 27, 2016

I am not sure if we are facing the same problem. I didn't have git installed when I ran the command to start the ionic 2 project so that's why I got the error.
Once I installed git as per @karlpatrickespiritu recommendation, it worked.

"You probably don't have git installed on your machine.
Download from: https://git-scm.com/ "

@MaheshJalodara
Copy link

when run ionic start demoApp sidemenu --v2 --ts

Creating Ionic app in folder /Users/bista-mac/Documents/demoApp based on
sidemenu project
Downloading: https://github.com/driftyco/ionic2-app-base/archive/master.zip
[=============================] 100% 0.0s
Downloading:
https://github.com/driftyco/ionic2-starter-sidemenu/archive/master.zip2
https://github.com/driftyco/ionic2-starter-sidemenu/archive/master.zip
[=============================] 100% 0.0s
Installing npm packages...
Error with start undefined
Error Initializing app: There was an error with the spawned command:
npminstall
There was an error with the spawned command: npminstall
Caught exception:
undefined

this error occure

On 27 October 2016 at 21:11, kemety notifications@github.com wrote:

I am not sure if we are facing the same problem. I didn't have git
installed when I ran the command to start the ionic 2 project so that's why
I got the error.
Once I installed git as per @karlpatrickespiritu
https://github.com/karlpatrickespiritu recommendation, it worked.

"You probably don't have git installed on your machine.
Download from: https://git-scm.com/ "


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#1590 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AP1j16rfGsRXvqUjmfgW1SE04y-N-v4Qks5q4MYjgaJpZM4KgiTX
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants