mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
Fixes for building at Mac M1 Air.
Thanks to xet7 !
This commit is contained in:
parent
ac33f2164f
commit
200545822c
1 changed files with 4 additions and 1 deletions
|
@ -85,9 +85,11 @@ do
|
||||||
export N_PREFIX=~/.n
|
export N_PREFIX=~/.n
|
||||||
fi
|
fi
|
||||||
npm config set prefix '~/.npm'
|
npm config set prefix '~/.npm'
|
||||||
|
npm -g install npm@latest
|
||||||
n 14.21.4
|
n 14.21.4
|
||||||
npm -g uninstall node-pre-gyp
|
npm -g uninstall node-pre-gyp
|
||||||
npm -g install @mapbox/node-pre-gyp
|
npm -g install @mapbox/node-pre-gyp
|
||||||
|
npm -g install node-gyp
|
||||||
npm -g install meteor@2.14
|
npm -g install meteor@2.14
|
||||||
export PATH=~/.meteor:$PATH
|
export PATH=~/.meteor:$PATH
|
||||||
exit;
|
exit;
|
||||||
|
@ -131,7 +133,8 @@ do
|
||||||
meteor build .build --directory --platforms=web.browser
|
meteor build .build --directory --platforms=web.browser
|
||||||
rm -rf .build/bundle/programs/web.browser.legacy
|
rm -rf .build/bundle/programs/web.browser.legacy
|
||||||
(cd .build/bundle/programs/server && rm -rf node_modules && chmod u+w *.json && meteor npm install --production)
|
(cd .build/bundle/programs/server && rm -rf node_modules && chmod u+w *.json && meteor npm install --production)
|
||||||
(cd .build/bundle/programs/server/node_modules/fibers && node build.js)
|
#(cd .build/bundle/programs/server/node_modules/fibers && node build.js)
|
||||||
|
(cd .build/bundle/programs/server && npm install fibers --save-dev)
|
||||||
(cd .build/bundle/programs/server/npm/node_modules/meteor/accounts-password && meteor npm remove bcrypt && meteor npm install bcrypt --production)
|
(cd .build/bundle/programs/server/npm/node_modules/meteor/accounts-password && meteor npm remove bcrypt && meteor npm install bcrypt --production)
|
||||||
# Cleanup
|
# Cleanup
|
||||||
cd .build/bundle
|
cd .build/bundle
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue