Skip to content

Commit

Permalink
node: update minimum version to 18+ (#1987)
Browse files Browse the repository at this point in the history
Node 16 is no longer maintained

No-Issue
  • Loading branch information
himdel authored Nov 27, 2023
1 parent ca10b9f commit 769d09d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/community/devstack.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ To connect to the UI, the default address is http://localhost:8002. If social au
For development work on the UI, it's easiest to launch the webpack dev server outside the compose stack. The npm start scripts and configuration will have it redirect api calls to http://localhost:5001 by default, so no hacking is necessary to make it work locally.

1. Install [NVM](https://github.com/nvm-sh/nvm) to easily manage node.js versions.
2. Use NVM to install and set the version to 16: `nvm install 16`,
2. Use NVM to install and set the version to 18: `nvm install 18`,
3. Clone the [ansible-hub-ui](https://github.com/ansible/ansible-hub-ui) repo to the desired location.
4. From the checkout, run `npm install`.
5. From the checkout, run `npm run start-community`.
Expand Down
2 changes: 1 addition & 1 deletion docs/dev/docker_environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ COMPOSE_PROFILE=standalone-keycloak
This option is only relevant to Red Hat employees. Community contributors should skip this.
1. In your `.compose.env` file set `COMPOSE_PROFILE=insights` and comment out `ANSIBLE_HUB_UI_PATH` (if its set).
2. Install node. Node v16+ is known to work. Older versions may work as well.
2. Install node. Node v18+ is known to work. Older versions may work as well.
3. Switch to your `ansible-hub-ui` checkout and run the following
```bash
Expand Down

0 comments on commit 769d09d

Please sign in to comment.