Bob Mottram 7 years ago
parent
commit
2855d5ac22
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      src/freedombone-utils-nodejs

+ 3
- 0
src/freedombone-utils-nodejs View File

158
     $mesh_install_nodejs_prefix n --arch $N_ARCH ${NODEJS_VERSION}
158
     $mesh_install_nodejs_prefix n --arch $N_ARCH ${NODEJS_VERSION}
159
     cp "$rootdir/root/npm" "$rootdir/usr/bin/npm"
159
     cp "$rootdir/root/npm" "$rootdir/usr/bin/npm"
160
 
160
 
161
+    # TEST
162
+    grep -r "require('os').cpus().length" "$rootdir/.npm-global/lib/node_modules/npm"/*
163
+
161
     # deliberate second install of npm
164
     # deliberate second install of npm
162
     $mesh_install_nodejs_prefix npm install --arch=$NPM_ARCH -g npm@${NPM_VERSION} --save
165
     $mesh_install_nodejs_prefix npm install --arch=$NPM_ARCH -g npm@${NPM_VERSION} --save
163
     if [ -f "$rootdir/usr/local/bin/npm" ]; then
166
     if [ -f "$rootdir/usr/local/bin/npm" ]; then