浏览代码

Try installing webpack without yarn

Bob Mottram 7 年前
父节点
当前提交
26f228eb86
共有 1 个文件被更改,包括 13 次插入8 次删除
  1. 13
    8
      src/freedombone-app-peertube

+ 13
- 8
src/freedombone-app-peertube 查看文件

645
     echo $'PeerTube Failed to install yarn'
645
     echo $'PeerTube Failed to install yarn'
646
     exit 79353234
646
     exit 79353234
647
 fi
647
 fi
648
-yarn add -D webpack
648
+npm install --arch=$NPM_ARCH webpack --no-optional
649
 if [ ! "\$?" = "0" ]; then
649
 if [ ! "\$?" = "0" ]; then
650
-    echo $'PeerTube failed to add webpack'
651
-    exit 67342823
652
-fi
653
-yarn install --ignore-optional
654
-if [ ! "\$?" = "0" ]; then
655
-    echo $'PeerTube failed to run yarn install'
656
-    exit 63754235
650
+    echo $'PeerTube failed to install webpack'
651
+    exit 68386353
657
 fi
652
 fi
653
+#yarn add -D webpack
654
+#if [ ! "\$?" = "0" ]; then
655
+#    echo $'PeerTube failed to add webpack'
656
+#    exit 67342823
657
+#fi
658
+#yarn install --ignore-optional
659
+#if [ ! "\$?" = "0" ]; then
660
+#    echo $'PeerTube failed to run yarn install'
661
+#    exit 63754235
662
+#fi
658
 npm install --arch=$NPM_ARCH --no-optional
663
 npm install --arch=$NPM_ARCH --no-optional
659
 if [ ! "\$?" = "0" ]; then
664
 if [ ! "\$?" = "0" ]; then
660
     echo $'PeerTube failed to install peertube'
665
     echo $'PeerTube failed to install peertube'