From fac1ba5952f763d257b04a934e3407f9b1d1d37a Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Tue, 24 May 2022 00:01:13 +0300 Subject: [PATCH] Try to fix Snap. Part 5. Thanks to xet7 ! --- snapcraft.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/snapcraft.yaml b/snapcraft.yaml index b4114813e..4ad0ceb1b 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -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