Try n without arch
This commit is contained in:
parent
c23cd4aee5
commit
4055590fcc
|
@ -221,7 +221,6 @@ function mesh_install_ipfs_js {
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
chroot ${rootdir} apt-get -yq install nodejs 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
|
||||||
|
@ -300,8 +299,6 @@ function install_ipfs_js {
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
apt-get -yq install nodejs
|
|
||||||
apt-get -yq install npm
|
|
||||||
apt-get -yq install libpam0g-dev fuse
|
apt-get -yq install libpam0g-dev fuse
|
||||||
|
|
||||||
if [ ! -f /usr/bin/nodejs ]; then
|
if [ ! -f /usr/bin/nodejs ]; then
|
||||||
|
|
|
@ -150,7 +150,7 @@ function mesh_install_nodejs {
|
||||||
|
|
||||||
# update from the old debian nodejs version
|
# update from the old debian nodejs version
|
||||||
$mesh_install_nodejs_prefix npm install --arch=$NPM_ARCH -g n@${NODEJS_N_VERSION} --save
|
$mesh_install_nodejs_prefix npm install --arch=$NPM_ARCH -g n@${NODEJS_N_VERSION} --save
|
||||||
$mesh_install_nodejs_prefix n --arch $N_ARCH ${NODEJS_VERSION}
|
$mesh_install_nodejs_prefix n ${NODEJS_VERSION}
|
||||||
cp $rootdir/root/npm $rootdir/usr/bin/npm
|
cp $rootdir/root/npm $rootdir/usr/bin/npm
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue