Set npm architecture
This commit is contained in:
parent
4bef56f305
commit
34f82b7d57
|
@ -567,6 +567,7 @@ install_patchwork() {
|
||||||
cat <<EOF > $rootdir/usr/bin/install_patchwork
|
cat <<EOF > $rootdir/usr/bin/install_patchwork
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
cd /etc/patchwork
|
cd /etc/patchwork
|
||||||
|
echo 'npm_config_arch=ia32' > ~/.npmrc
|
||||||
npm install electron --save-dev --save-exact
|
npm install electron --save-dev --save-exact
|
||||||
npm install
|
npm install
|
||||||
EOF
|
EOF
|
||||||
|
|
Loading…
Reference in New Issue