Browse Source

Merge pull request #5816 from dassio/main

specify meteor version, otherwise the lastes meteor version is not compatible with node14
Lauri Ojansivu 1 month ago
parent
commit
2549e0e4c8
1 changed files with 1 additions and 1 deletions
  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";