Try to fix Snap. Part 5.

Thanks to xet7 !
This commit is contained in:
Lauri Ojansivu 2022-05-24 00:01:13 +03:00
parent 3db14ad03a
commit fac1ba5952

View file

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