specify meteor version, otherwise the lastes version is not compatiable with node_14

This commit is contained in:
xiangbin.li 2025-06-24 03:36:20 +00:00
parent 12d3fabdb7
commit d974fa638c

View file

@ -48,7 +48,7 @@ do
# Latest fibers for Meteor sudo mkdir -p /usr/local/lib/node_modules/fibers/.node-gyp sudo npm -g install fibers
sudo npm -g install @mapbox/node-pre-gyp
# Install Meteor, if it's not yet installed
sudo npm -g install meteor --unsafe-perm
sudo npm -g install meteor@2.14 --unsafe-perm
#sudo chown -R $(id -u):$(id -g) $HOME/.npm $HOME/.meteor
elif [[ "$OSTYPE" == "darwin"* ]]; then
echo "macOS";