Skip to content

Commit 3d7660f

Browse files
committed
docs: added nodev14 npm undate in contributing file
1 parent ba0846f commit 3d7660f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

CONTRIBUTING.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@ Troubleshooting `pg_config: command not found`: The tests in this package depend
1818

1919
Install the [`aws-cli`](https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html) to publish AWS layers from local.
2020

21+
### Upgrade npm for Node.js v14
22+
23+
If you are using Node.js v14 and would like to take advantage of the "overrides" feature in package.json, you need to upgrade npm manually since Node.js v14 ships with npm v6, and "overrides" were introduced in npm v8.3. Upgrade npm manually to the latest version using the following command:
24+
```
25+
npm install npm@latest
26+
```
27+
2128
## Executing Tests Locally
2229

2330
Some of the tests require infrastructure components (databases etc.) to run locally. The easiest way to run all required components locally is to use Docker and on top of this [Docker Compose](https://docs.docker.com/compose/). Start the script `bin/start-test-containers.sh` to set up all the necessary infrastructure. Once this is up, leave it running and, in second shell, start `bin/run-tests.sh`. This will set the necessary environment variables and kick off the tests.

0 commit comments

Comments
 (0)