Missing npm package

This commit is contained in:
Bob Mottram 2017-05-29 17:12:14 +01:00
parent 03e7fea2c4
commit f07024be33
3 changed files with 3 additions and 6 deletions

View File

@ -199,8 +199,7 @@ function mesh_install_ipfs_js {
return
fi
chroot ${rootdir} apt-get -yq install nodejs
chroot ${rootdir} apt-get -yq install npm curl
chroot ${rootdir} apt-get -yq install nodejs curl
chroot ${rootdir} apt-get -yq install libpam0g-dev fuse
if [ ! -f ${rootdir}/usr/bin/nodejs ]; then

View File

@ -1199,8 +1199,7 @@ function image_install_nodejs {
return
fi
chroot "$rootdir" apt-get -yq install nodejs
chroot "$rootdir" apt-get -yq install npm curl
chroot "$rootdir" apt-get -yq install nodejs curl
if [ ! -f $rootdir/usr/bin/nodejs ]; then
echo $'nodejs was not installed'

View File

@ -44,8 +44,7 @@ NPM_VERSION='4.0.5'
NODEJS_INSTALLED_APPS_FILE=$HOME/.nodejs-apps
function mesh_install_nodejs {
chroot "${rootdir}" apt-get -yq install nodejs
chroot "${rootdir}" apt-get -yq install npm curl
chroot "${rootdir}" apt-get -yq install nodejs curl
if [ ! -f ${rootdir}/usr/bin/nodejs ]; then
echo $'nodejs was not installed'