Skip to content
Snippets Groups Projects
Commit 4055590f authored by Bob Mottram's avatar Bob Mottram
Browse files

Try n without arch

parent c23cd4ae
No related branches found
No related tags found
No related merge requests found
......@@ -221,7 +221,6 @@ function mesh_install_ipfs_js {
return
fi
chroot ${rootdir} apt-get -yq install nodejs curl
chroot ${rootdir} apt-get -yq install libpam0g-dev fuse
if [ ! -f ${rootdir}/usr/bin/nodejs ]; then
......@@ -300,8 +299,6 @@ function install_ipfs_js {
return
fi
apt-get -yq install nodejs
apt-get -yq install npm
apt-get -yq install libpam0g-dev fuse
if [ ! -f /usr/bin/nodejs ]; then
......
......@@ -150,7 +150,7 @@ function mesh_install_nodejs {
# 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 n --arch $N_ARCH ${NODEJS_VERSION}
$mesh_install_nodejs_prefix n ${NODEJS_VERSION}
cp $rootdir/root/npm $rootdir/usr/bin/npm
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment