Explorar o código

Try to fix Snap. Part 5.

Thanks to xet7 !
Lauri Ojansivu %!s(int64=3) %!d(string=hai) anos
pai
achega
fac1ba5952
Modificáronse 1 ficheiros con 5 adicións e 4 borrados
  1. 5 4
      snapcraft.yaml

+ 5 - 4
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