Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update --check logic, nodered v. webmap version compatibility, support test.pypi #122

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

phreed
Copy link
Contributor

@phreed phreed commented May 14, 2024

@phreed
Copy link
Contributor Author

phreed commented May 14, 2024

The IP address variable needs to be set.
export MY_IPA=<whatever ip addr gives you>
Test normal default installation with the following command:

wget -qO - https://raw.githubusercontent.com/babeloff/FreeTAKHub-Installation/main/scripts/easy_install.sh | sudo bash -s -- --ip-addr ${MY_IPA} --repo https://github.com/babeloff/FreeTAKHub-Installation.git --branch issue_120

Install downgrading the errors to warnings (and enable the root check):

wget -qO - https://raw.githubusercontent.com/babeloff/FreeTAKHub-Installation/main/scripts/easy_install.sh | sudo bash -s -- --ip-addr ${MY_IPA} --repo https://github.com/babeloff/FreeTAKHub-Installation.git --branch issue_120 --warn --check root

@phreed
Copy link
Contributor Author

phreed commented May 14, 2024

According to https://nodered.org/docs/faq/node-versions
The nodejs needs to be 18 (or 20) to run nodered v4+
The nodejs installed on Ubuntu 22.04 is v12

nodejs/jammy-updates,jammy-security,now 12.22.9~dfsg-1ubuntu3.5 arm64 [installed]
  evented I/O for V8 javascript - runtime executable

The version of nodejs could be updated using nvm.
https://github.com/nvm-sh/nvm/blob/master/README.md

Probably better to stick with the deb package from nodesource.
https://github.com/nodesource/distributions/blob/master/README.md

curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - &&\
sudo apt-get install -y nodejs

@slevin has verified that nodejs does need to be upgraded to v20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant