Skip to content

Commit

Permalink
Try to fix Snap. Part 5.
Browse files Browse the repository at this point in the history
Thanks to xet7 !
  • Loading branch information
xet7 committed May 23, 2022
1 parent 3db14ad commit fac1ba5
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,11 @@ parts:
echo "Cleaning environment first"
rm -rf ~/.meteor ~/.npm /usr/local/lib/node_modules
rm -rf .build
echo "Using http npm packages so speedup install process https://stackoverflow.com/questions/39760113/callback-called-more-than-once-while-running-npm-install"
echo "registry=http://registry.npmjs.org/" > ~/.npmrc
echo "Installing npm, node-gyp, node-pre-gyp, fibers"
npm -g install npm --unsafe-perm
#echo "Using http npm packages so speedup install process https://stackoverflow.com/questions/39760113/callback-called-more-than-once-while-running-npm-install"
#echo "registry=http://registry.npmjs.org/" > ~/.npmrc
#echo "Installing npm, node-gyp, node-pre-gyp, fibers"
npm -g install n --unsafe-perm
n 14.19.3
npm -g install node-gyp --unsafe-perm
npm -g install node-pre-gyp --unsafe-perm
npm -g install fibers --unsafe-perm
Expand Down

0 comments on commit fac1ba5

Please sign in to comment.