Skip to content

Commit

Permalink
Try to fix Snap. Part 3: Added --unsafe-perm to npm install.
Browse files Browse the repository at this point in the history
Thanks to xet7 !

Related #4505 (comment)
  • Loading branch information
xet7 committed May 23, 2022
1 parent 0ae8de4 commit ea66eca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 ../../../../../..
Expand Down

0 comments on commit ea66eca

Please sign in to comment.