Skip to content
Snippets Groups Projects
Commit f26a272f authored by Bob Mottram's avatar Bob Mottram
Browse files

Test earlier

parent 7d02248a
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment