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
This commit is contained in:
Lauri Ojansivu 2022-05-23 23:22:00 +03:00
parent 0ae8de4c04
commit ea66eca60d

View file

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