Ensure npm version doesn't get reverted
This commit is contained in:
parent
388f3d6168
commit
052e01be4d
|
@ -95,6 +95,7 @@ function mesh_install_nodejs {
|
||||||
get_npm_arch
|
get_npm_arch
|
||||||
chroot "$rootdir" npm install --arch=$NPM_ARCH -g n@${NODEJS_N_VERSION} --save
|
chroot "$rootdir" npm install --arch=$NPM_ARCH -g n@${NODEJS_N_VERSION} --save
|
||||||
chroot "$rootdir" n --arch $N_ARCH ${NODEJS_VERSION}
|
chroot "$rootdir" n --arch $N_ARCH ${NODEJS_VERSION}
|
||||||
|
chroot "$rootdir" npm install -g --arch $NPM_ARCH npm@${NPM_VERSION} --save
|
||||||
}
|
}
|
||||||
|
|
||||||
function remove_nodejs {
|
function remove_nodejs {
|
||||||
|
|
Loading…
Reference in New Issue