Browse Source

Secondary fix

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

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

176
     # update from the old debian nodejs version
176
     # update from the old debian nodejs version
177
     $mesh_install_nodejs_prefix npm install --arch=$NPM_ARCH -g n@${NODEJS_N_VERSION} --save
177
     $mesh_install_nodejs_prefix npm install --arch=$NPM_ARCH -g n@${NODEJS_N_VERSION} --save
178
     $mesh_install_nodejs_prefix n --arch $N_ARCH ${NODEJS_VERSION}
178
     $mesh_install_nodejs_prefix n --arch $N_ARCH ${NODEJS_VERSION}
179
+    nodejs_fix_cpu_detection
179
     cp "$rootdir/root/npm" "$rootdir/usr/bin/npm"
180
     cp "$rootdir/root/npm" "$rootdir/usr/bin/npm"
180
     cp "$rootdir/root/npm" "$rootdir/usr/local/bin/npm"
181
     cp "$rootdir/root/npm" "$rootdir/usr/local/bin/npm"
181
 
182