Skip to content

Commit a52577e

Browse files
feat(tooling): adds nvm (nasa#6938)
* feat(tooling): adds nvm * fix(ci): nodev16 -> nodev18 * chore(node): dont modify ci config * feat(nvm): add lts * docs(readme): add section on nvm * fix(docs): revise section --------- Co-authored-by: John Hill <[email protected]>
1 parent a495e86 commit a52577e

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
lts/*

README.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,12 @@ Building and running Open MCT in your local dev environment is very easy. Be sur
1818

1919
`git clone https://github.com/nasa/openmct.git`
2020

21-
2. Install development dependencies. Note: Check the package.json engine for our tested and supported node versions.
21+
2. (Optionally) Install the correct node version using [nvm](https://github.com/nvm-sh/nvm) (`nvm install`)
22+
3. Install development dependencies. Note: Check the package.json engine for our tested and supported node versions.
2223

2324
`npm install`
2425

25-
3. Run a local development server
26+
4. Run a local development server
2627

2728
`npm start`
2829

@@ -51,6 +52,8 @@ For more on developing with Open MCT, see our documentation for a guide on [Deve
5152

5253
This is a fast moving project and we do our best to test and support the widest possible range of browsers, operating systems, and nodejs APIs. We have a published list of support available in our package.json's `browserslist` key.
5354

55+
The project uses `nvm` to ensure the node and npm version used, is coherent in all projects. Install nvm (non-windows), [here](https://github.com/nvm-sh/nvm) or the windows equivalent [here](https://github.com/coreybutler/nvm-windows)
56+
5457
If you encounter an issue with a particular browser, OS, or nodejs API, please file a [GitHub issue](https://github.com/nasa/openmct/issues/new/choose)
5558

5659
## Plugins

0 commit comments

Comments
 (0)