npm test
This commit is contained in:
parent
c30ee3949f
commit
2855d5ac22
|
@ -158,6 +158,9 @@ function mesh_install_nodejs {
|
||||||
$mesh_install_nodejs_prefix n --arch $N_ARCH ${NODEJS_VERSION}
|
$mesh_install_nodejs_prefix n --arch $N_ARCH ${NODEJS_VERSION}
|
||||||
cp "$rootdir/root/npm" "$rootdir/usr/bin/npm"
|
cp "$rootdir/root/npm" "$rootdir/usr/bin/npm"
|
||||||
|
|
||||||
|
# TEST
|
||||||
|
grep -r "require('os').cpus().length" "$rootdir/.npm-global/lib/node_modules/npm"/*
|
||||||
|
|
||||||
# deliberate second install of npm
|
# deliberate second install of npm
|
||||||
$mesh_install_nodejs_prefix npm install --arch=$NPM_ARCH -g npm@${NPM_VERSION} --save
|
$mesh_install_nodejs_prefix npm install --arch=$NPM_ARCH -g npm@${NPM_VERSION} --save
|
||||||
if [ -f "$rootdir/usr/local/bin/npm" ]; then
|
if [ -f "$rootdir/usr/local/bin/npm" ]; then
|
||||||
|
|
Loading…
Reference in New Issue