Browse Source

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

xiangbin.li 1 tháng trước cách đây
mục cha
commit
d974fa638c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      rebuild-wekan.sh

+ 1 - 1
rebuild-wekan.sh

@@ -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
 			# 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
 			sudo npm -g install @mapbox/node-pre-gyp
 			# Install Meteor, if it's not yet installed
 			# 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
 			#sudo chown -R $(id -u):$(id -g) $HOME/.npm $HOME/.meteor
 		elif [[ "$OSTYPE" == "darwin"* ]]; then
 		elif [[ "$OSTYPE" == "darwin"* ]]; then
 		        echo "macOS";
 		        echo "macOS";