Browse Source

Try some additional peertube build dependencies

Bob Mottram 7 years ago
parent
commit
e724c5f32f
1 changed files with 13 additions and 3 deletions
  1. 13
    3
      src/freedombone-app-peertube

+ 13
- 3
src/freedombone-app-peertube View File

642
     echo $'PeerTube Failed to install yarn'
642
     echo $'PeerTube Failed to install yarn'
643
     exit 79353234
643
     exit 79353234
644
 fi
644
 fi
645
+npm install --arch=$NPM_ARCH bcrypt@1.0.3 --build-from-source
646
+if [ ! "$?" = "0" ]; then
647
+    echo $'PeerTube failed to build bcrypt'
648
+    exit 73563543
649
+fi
650
+npm install --arch=$NPM_ARCH fsevents@1.1.3 --build-from-source
651
+if [ ! "$?" = "0" ]; then
652
+    echo $'PeerTube failed to build fsevents'
653
+    exit 2846393
654
+fi
645
 yarn add -D webpack --network-concurrency 1
655
 yarn add -D webpack --network-concurrency 1
646
 yarn install
656
 yarn install
647
 if [ ! "$?" = "0" ]; then
657
 if [ ! "$?" = "0" ]; then
648
-    echo $'PeerTube Failed to run yarn install'
658
+    echo $'PeerTube failed to run yarn install'
649
     exit 63754235
659
     exit 63754235
650
 fi
660
 fi
651
 npm install --arch=$NPM_ARCH
661
 npm install --arch=$NPM_ARCH
652
 if [ ! "$?" = "0" ]; then
662
 if [ ! "$?" = "0" ]; then
653
-    echo $'PeerTube Failed to install peertube'
663
+    echo $'PeerTube failed to install peertube'
654
     exit 7835243
664
     exit 7835243
655
 fi
665
 fi
656
 npm run build --arch=$NPM_ARCH
666
 npm run build --arch=$NPM_ARCH
657
 if [ ! "$?" = "0" ]; then
667
 if [ ! "$?" = "0" ]; then
658
-    echo $'PeerTube Failed to build peertube'
668
+    echo $'PeerTube failed to build peertube'
659
     exit 5293593
669
     exit 5293593
660
 fi
670
 fi
661
 EOF
671
 EOF