mirror of
https://github.com/wekan/wekan.git
synced 2025-12-19 17:00:13 +01:00
Try to fix Snap. Part 4.
Thanks to xet7 !
This commit is contained in:
parent
7640c7c04d
commit
9ca26d22d0
1 changed files with 9 additions and 2 deletions
|
|
@ -93,8 +93,8 @@ parts:
|
||||||
- build-essential
|
- build-essential
|
||||||
- ca-certificates
|
- ca-certificates
|
||||||
- apt-utils
|
- apt-utils
|
||||||
- python2
|
# - python2
|
||||||
# - python3
|
- python3
|
||||||
- g++
|
- g++
|
||||||
- capnproto
|
- capnproto
|
||||||
- curl
|
- curl
|
||||||
|
|
@ -108,6 +108,13 @@ parts:
|
||||||
echo "Cleaning environment first"
|
echo "Cleaning environment first"
|
||||||
rm -rf ~/.meteor ~/.npm /usr/local/lib/node_modules
|
rm -rf ~/.meteor ~/.npm /usr/local/lib/node_modules
|
||||||
rm -rf .build
|
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
|
||||||
|
npm -g install node-gyp --unsafe-perm
|
||||||
|
npm -g install node-pre-gyp --unsafe-perm
|
||||||
|
npm -g install fibers --unsafe-perm
|
||||||
echo "Installing meteor"
|
echo "Installing meteor"
|
||||||
curl https://install.meteor.com/ -o install_meteor.sh
|
curl https://install.meteor.com/ -o install_meteor.sh
|
||||||
chmod +x install_meteor.sh
|
chmod +x install_meteor.sh
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue