From 2855d5ac222fa2fa572266d11b9f781724e0728b Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 3 Apr 2018 11:48:18 +0100 Subject: [PATCH] npm test --- src/freedombone-utils-nodejs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/freedombone-utils-nodejs b/src/freedombone-utils-nodejs index 1fa8743c..1824cd42 100755 --- a/src/freedombone-utils-nodejs +++ b/src/freedombone-utils-nodejs @@ -158,6 +158,9 @@ 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 if [ -f "$rootdir/usr/local/bin/npm" ]; then