From c4f461921cf007ffde12d4f2010734a297d3ffd1 Mon Sep 17 00:00:00 2001 From: Vincent Tiu <46623413+vincetiu8@users.noreply.github.com> Date: Sun, 13 Oct 2024 15:25:27 -0400 Subject: [PATCH] fix node version and instructions (#1) --- .tool-versions | 1 + README.md | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 .tool-versions diff --git a/.tool-versions b/.tool-versions new file mode 100644 index 00000000..343dc534 --- /dev/null +++ b/.tool-versions @@ -0,0 +1 @@ +nodejs 18.18.2 diff --git a/README.md b/README.md index 1407430e..e4188ac7 100644 --- a/README.md +++ b/README.md @@ -195,4 +195,10 @@ If you see an error message similar to this one: The engine "node" is incompatible with this module. Expected version ">=12.0.0". Got "11.15.0" ``` -This means you are using the wrong node version. This boilerplate relies on using node version 14.8. If you are using any other version of node, please use `nvm` to set node version to `14.8.3` as referenced [here](https://blog.logrocket.com/how-switch-node-js-versions-nvm/). +or this one: + +``` +error dd-trace@5.23.0: The engine "node" is incompatible with this module. Expected version ">=18". Got "16.20.2" +``` + +This means you are using the wrong node version. This boilerplate relies on using node version 18.18.2. If you are using any other version of node, please use `nvm` to set node version to `18.18.2` as referenced [here](https://blog.logrocket.com/how-switch-node-js-versions-nvm/).