瀏覽代碼

Set npm architecture

Bob Mottram 7 年之前
父節點
當前提交
34f82b7d57
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      src/freedombone-image-customise

+ 1
- 0
src/freedombone-image-customise 查看文件

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