Error found incompatible module

Got an error while deploying the backend part of my project
The error displayed is “error mongoose@7.4.0: The engine node is incompatible with this module expected version >= 14.20.1”

Hi,

The error shows:

... expected version >= 14.20.1

The deploy logs also show the Node version that is being used and a link to the docs on how to change it, e.g.

==> Using Node version 14.17.0 (default)
==> Docs on specifying a Node version: https://render.com/docs/node-version

Alan

"engines": {
  "node": ">=14.20.1"
}
```**strong text**

{
“dependencies”: {
“cors”: “^2.8.5”,
“crypto”: “^1.0.1”,
“dotenv”: “^16.1.3”,
“express”: “^4.18.2”,
“mongoose”: “^7.2.2”,
“nodemon”: “^2.0.22”
},
“name”: “shop”,
“version”: “1.0.0”,
“main”: “index.js”,
“scripts”: {
“test”: “echo "Error: no test specified" && exit 1”,
“start”: “node index.js”
},
“engines”: {
“node”: “>=14.20.1”
},
“author”: “”,
“license”: “ISC”,
“description”: “”
}

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.