Call cpu detection fix after installing new npm
This commit is contained in:
parent
cefafc1430
commit
13d834bfcb
|
@ -146,6 +146,9 @@ function mesh_install_nodejs {
|
|||
fi
|
||||
cp "$rootdir/usr/bin/npm" "$rootdir/root/npm"
|
||||
|
||||
# deliberately called again
|
||||
nodejs_fix_cpu_detection
|
||||
|
||||
# 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}
|
||||
|
|
Loading…
Reference in New Issue