Missing npm package
This commit is contained in:
parent
03e7fea2c4
commit
f07024be33
|
@ -199,8 +199,7 @@ function mesh_install_ipfs_js {
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
chroot ${rootdir} apt-get -yq install nodejs
|
chroot ${rootdir} apt-get -yq install nodejs curl
|
||||||
chroot ${rootdir} apt-get -yq install npm curl
|
|
||||||
chroot ${rootdir} apt-get -yq install libpam0g-dev fuse
|
chroot ${rootdir} apt-get -yq install libpam0g-dev fuse
|
||||||
|
|
||||||
if [ ! -f ${rootdir}/usr/bin/nodejs ]; then
|
if [ ! -f ${rootdir}/usr/bin/nodejs ]; then
|
||||||
|
|
|
@ -1199,8 +1199,7 @@ function image_install_nodejs {
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
chroot "$rootdir" apt-get -yq install nodejs
|
chroot "$rootdir" apt-get -yq install nodejs curl
|
||||||
chroot "$rootdir" apt-get -yq install npm curl
|
|
||||||
|
|
||||||
if [ ! -f $rootdir/usr/bin/nodejs ]; then
|
if [ ! -f $rootdir/usr/bin/nodejs ]; then
|
||||||
echo $'nodejs was not installed'
|
echo $'nodejs was not installed'
|
||||||
|
|
|
@ -44,8 +44,7 @@ NPM_VERSION='4.0.5'
|
||||||
NODEJS_INSTALLED_APPS_FILE=$HOME/.nodejs-apps
|
NODEJS_INSTALLED_APPS_FILE=$HOME/.nodejs-apps
|
||||||
|
|
||||||
function mesh_install_nodejs {
|
function mesh_install_nodejs {
|
||||||
chroot "${rootdir}" apt-get -yq install nodejs
|
chroot "${rootdir}" apt-get -yq install nodejs curl
|
||||||
chroot "${rootdir}" apt-get -yq install npm curl
|
|
||||||
|
|
||||||
if [ ! -f ${rootdir}/usr/bin/nodejs ]; then
|
if [ ! -f ${rootdir}/usr/bin/nodejs ]; then
|
||||||
echo $'nodejs was not installed'
|
echo $'nodejs was not installed'
|
||||||
|
|
Loading…
Reference in New Issue