jshimko / meteor-launchpad

A base Docker image for Meteor applications.
https://hub.docker.com/r/jshimko/meteor-launchpad/
MIT License
276 stars 152 forks source link

not found: git #25

Closed Netherdrake closed 7 years ago

Netherdrake commented 7 years ago

If package.json contains dependencies that pull from github, the install will fail:

npm ERR! git clone --template=/root/.meteor/packages/meteor-tool/1.4.2_3/mt-os.linux.x86_64/dev_bundle/.npm/_git-remotes/_templates --mirror git@github.com:adcpm/steem.git /root/.meteor/packages/meteor-tool/1.4.2_3/mt-os.linux.x86_64/dev_bundle/.npm/_git-remotes/git-github-com-adcpm-steem-git-dev-82fc4f60: undefined
npm ERR! git clone --template=/root/.meteor/packages/meteor-tool/1.4.2_3/mt-os.linux.x86_64/dev_bundle/.npm/_git-remotes/_templates --mirror git@github.com:adcpm/steem.git /root/.meteor/packages/meteor-tool/1.4.2_3/mt-os.linux.x86_64/dev_bundle/.npm/_git-remotes/git-github-com-adcpm-steem-git-dev-82fc4f60: undefined
npm ERR! Linux 4.4.31-1-lts
npm ERR! argv "/root/.meteor/packages/meteor-tool/.1.4.2_3.17tso1e++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node" "/root/.meteor/packages/meteor-tool/1.4.2_3/mt-os.linux.x86_64/dev_bundle/bin/npm" "install"
npm ERR! node v4.6.2
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!     /opt/meteor/src/npm-debug.log
jshimko commented 7 years ago

Are you using the latest version? Git is definitely installed.

Try running docker pull jshimko/meteor-launchpad:latest and build again.

Netherdrake commented 7 years ago

You are right.

docker rmi -f jshimko/meteor-launchpad and docker pull jshimko/meteor-launchpad:latest fixed the issue.