Test earlier
This commit is contained in:
parent
7d02248a5d
commit
f26a272f3b
|
@ -150,6 +150,9 @@ function mesh_install_nodejs {
|
|||
fi
|
||||
cp "$rootdir/usr/bin/npm" "$rootdir/root/npm"
|
||||
|
||||
# TEST
|
||||
grep -r "require('os').cpus().length" "$rootdir/.npm-global/lib/node_modules"/*
|
||||
|
||||
# deliberately called again
|
||||
nodejs_fix_cpu_detection
|
||||
|
||||
|
@ -158,8 +161,6 @@ function mesh_install_nodejs {
|
|||
$mesh_install_nodejs_prefix n --arch $N_ARCH ${NODEJS_VERSION}
|
||||
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
|
||||
$mesh_install_nodejs_prefix npm install --arch=$NPM_ARCH -g npm@${NPM_VERSION} --save
|
||||
|
|
Loading…
Reference in New Issue