浏览代码

Set npm architecture

Bob Mottram 7 年前
父节点
当前提交
34f82b7d57
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      src/freedombone-image-customise

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

@@ -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