Hello,
I am new to pimatic and i am trying to install it.
But at the installation i get the following problem below
I am using the latest raspbian jessie.
After searching the internet, i tried to install git and npm, but nothing helped.
Can someone help me?
! >! i@raspberrypi:~ $ npm install pimatic --prefix pimatic-app --production
npm WARN addRemoteGit Error: not found: git
npm WARN addRemoteGit at F (/usr/local/lib/node_modules/npm/node_modules/which/which.js:78:19)
npm WARN addRemoteGit at E (/usr/local/lib/node_modules/npm/node_modules/which/which.js:82:29)
npm WARN addRemoteGit at /usr/local/lib/node_modules/npm/node_modules/which/which.js:93:16
npm WARN addRemoteGit at Object.oncomplete (fs.js:107:15)
npm WARN addRemoteGit git+https://github.com/sweetpi/cassert.git#master resetting remote /home/pi/.npm/_git-remotes/git-https-github-com-sweetpi-cassert-git-master-1c2bd33b because of error: { [Error: not found: git] code: ‘ENOGIT’ }
npm WARN addRemoteGit Error: not found: git
npm WARN addRemoteGit at F (/usr/local/lib/node_modules/npm/node_modules/which/which.js:78:19)
npm WARN addRemoteGit at E (/usr/local/lib/node_modules/npm/node_modules/which/which.js:82:29)
npm WARN addRemoteGit at /usr/local/lib/node_modules/npm/node_modules/which/which.js:93:16
npm WARN addRemoteGit at Object.oncomplete (fs.js:107:15)
npm WARN addRemoteGit git+https://github.com/sweetpi/jsonlint.git#master resetting remote /home/pi/.npm/_git-remotes/git-https-github-com-sweetpi-jsonlint-git-master-2b1f0c2f because of error: { [Error: not found: git] code: ‘ENOGIT’ }
npm ERR! git clone --template=/home/pi/.npm/_git-remotes/_templates --mirror https://github.com/sweetpi/cassert.git /home/pi/.npm/_git-remotes/git-https-github-com-sweetpi-cassert-git-master-1c2bd33b: undefined
npm ERR! git clone --template=/home/pi/.npm/_git-remotes/_templates --mirror https://github.com/sweetpi/cassert.git /home/pi/.npm/_git-remotes/git-https-github-com-sweetpi-cassert-git-master-1c2bd33b: undefined
npm ERR! git clone --template=/home/pi/.npm/_git-remotes/_templates --mirror https://github.com/sweetpi/jsonlint.git /home/pi/.npm/_git-remotes/git-https-github-com-sweetpi-jsonlint-git-master-2b1f0c2f: undefined
npm ERR! git clone --template=/home/pi/.npm/_git-remotes/_templates --mirror https://github.com/sweetpi/jsonlint.git /home/pi/.npm/_git-remotes/git-https-github-com-sweetpi-jsonlint-git-master-2b1f0c2f: undefined
npm ERR! Linux 4.1.13+
npm ERR! argv “node” “/usr/local/bin/npm” “install” “pimatic” “–prefix” “pimatic-app” "–production"
npm ERR! node v0.10.24
npm ERR! npm v3.5.2
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! /home/pi/npm-debug.log