Selaa lähdekoodia

Set npm architecture

Bob Mottram 7 vuotta sitten
vanhempi
commit
34f82b7d57
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1
    0
      src/freedombone-image-customise

+ 1
- 0
src/freedombone-image-customise Näytä tiedosto

@@ -567,6 +567,7 @@ install_patchwork() {
567 567
     cat <<EOF > $rootdir/usr/bin/install_patchwork
568 568
 #!/bin/bash
569 569
 cd /etc/patchwork
570
+echo 'npm_config_arch=ia32' > ~/.npmrc
570 571
 npm install electron --save-dev --save-exact
571 572
 npm install
572 573
 EOF