Commit Graph

3 Commits

Author SHA1 Message Date
Jeff
8b4b2ca869
Update install-gui.sh to use check Node 18 and npm 9 (#16424)
* Update to use node 18 and npm 9

* `$(npm bin)` -> `$(npm prefix)/bin`

* `$(npm bin)` -> `$(npm prefix)/node_modules/.bin`

* Upgraded package-lock version

* `start-gui.sh` now requires npm >= 9

* Reverted `package-lock.json` version for old NodeJS/npm

---------

Co-authored-by: ChiaMineJP <admin@chiamine.jp>
2023-09-26 17:30:43 -05:00
Kyle Altendorf
161a838b6a
more set -o errexit (#10468)
* more set -o errexit -o pipefail

* no pipefail, too fancy for dash at least...
2022-03-17 09:13:27 -07:00
Kyle Altendorf
fc95c638a3
Update to handle the NodeJS 16 dependency (#9921)
* preliminary testing of in-directory n on ubuntu always

* Use more n chiaminejp (#9971)

* Added n as a local npm dependency

* Fixed an issue where `install.sh` always tried to run `sudo apt install bc -y` even if `bc` is installed already

* Added validations and useful outputs for `start-gui.sh`

* Fixed lint error and use shell functions for readability

* Replace tags with spaces

* Skip installing python39 on RH like OS if it is already installed

* Fixed an issue where start-gui.sh failed silently if venv is not activated

* Suppressed message from pacman

* Support CentOS7

* Fixed typo

* Reduced unnecessary install messages

* Fixed end of file

* Added npm_global/__init__.py to pass CI

* Fixed lint errors

* Install python/sqlite from source on AMZN2. Clear old venv when changing python version on install

* Suppress unnecessary command outputs

* Suppress outputs

* Added centos7/8 to install test

* A minor fix

* Fixed yaml syntax error

* Fixed an issue where test-install-scripts failed in CentOS

Co-authored-by: ChiaMineJP <admin@chiamine.jp>
2022-02-11 18:30:19 -08:00