quick_jibri_installer.sh: update nodejs to a stable release.
This commit is contained in:
		
							parent
							
								
									728eb82d45
								
							
						
					
					
						commit
						ec37c01d95
					
				|  | @ -391,7 +391,7 @@ echo " | ||||||
| if [ "$(dpkg-query -W -f='${Status}' nodejs 2>/dev/null | grep -c "ok")" == "1" ]; then | if [ "$(dpkg-query -W -f='${Status}' nodejs 2>/dev/null | grep -c "ok")" == "1" ]; then | ||||||
|     echo "Nodejs is installed, skipping..." |     echo "Nodejs is installed, skipping..." | ||||||
| else | else | ||||||
|     curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash - |     curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash - | ||||||
|     apt-get install -yq2 nodejs |     apt-get install -yq2 nodejs | ||||||
|     echo "Installing nodejs esprima package..." |     echo "Installing nodejs esprima package..." | ||||||
|     npm install -g esprima |     npm install -g esprima | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue