Secondary fix

This commit is contained in:
Bob Mottram 2018-04-03 17:36:45 +01:00
parent cacacc38d1
commit 1b7a329005
1 changed files with 1 additions and 0 deletions

View File

@ -176,6 +176,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}
nodejs_fix_cpu_detection
cp "$rootdir/root/npm" "$rootdir/usr/bin/npm"
cp "$rootdir/root/npm" "$rootdir/usr/local/bin/npm"