Ensure npm version doesn't get reverted

This commit is contained in:
Bob Mottram 2017-09-14 17:18:51 +01:00
parent 388f3d6168
commit 052e01be4d
1 changed files with 1 additions and 0 deletions

View File

@ -95,6 +95,7 @@ function mesh_install_nodejs {
get_npm_arch
chroot "$rootdir" npm install --arch=$NPM_ARCH -g n@${NODEJS_N_VERSION} --save
chroot "$rootdir" n --arch $N_ARCH ${NODEJS_VERSION}
chroot "$rootdir" npm install -g --arch $NPM_ARCH npm@${NPM_VERSION} --save
}
function remove_nodejs {