Explorar el Código

Try to fix Snap. Part 3: Added --unsafe-perm to npm install.

Thanks to xet7 !

Related https://github.com/wekan/wekan/issues/4505#issuecomment-1135101672
Lauri Ojansivu hace 3 años
padre
commit
ea66eca60d
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      snapcraft.yaml

+ 2 - 2
snapcraft.yaml

@@ -115,14 +115,14 @@ parts:
             rm install_meteor.sh
             rm -rf .build
             chmod u+w *.json
-            npm install
+            npm install --unsafe-perm
             meteor build .build --directory --allow-superuser
             # Remove legacy webbroser bundle, so that Wekan works also at Android Firefox, iOS Safari, etc.
             rm -rf .build/bundle/programs/web.browser.legacy
             # Change to directory .build/bundle/programs/server
             cd .build/bundle/programs/server
             chmod u+w *.json
-            npm install
+            npm install --unsafe-perm
             cd node_modules/fibers
             node build.js
             cd ../../../../../..