When I ran the npm install
command in the “Side quest: Intermediate Schema Design” course, I encountered some errors regarding the Npm and node versions separately on the client and server side. Both support different versions.
What should I do to get rid of these problems?
When I got the following error on the server side, I changed the node and npm versions. This time, I got the following error on the client side.
Server Side Errors
npm ERR! code EBADENGINE
npm ERR! engine Unsupported engine
npm ERR! engine Not compatible with your version of node/npm: @jest/expect-utils@29.3.1
npm ERR! notsup Not compatible with your version of node/npm: @jest/expect-utils@29.3.1
npm ERR! notsup Required: {“node”:“^14.15.0 || ^16.10.0 || >=18.0.0”}
npm ERR! notsup Actual: {“npm”:“8.5.5”,“node”:“v17.8.0”}
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\ahmet\AppData\Local\npm-cache_logs\2023-02-20T13_01_27_052Z-debug-0.log
Client Side Errors
npm ERR! code EBADENGINE
npm ERR! engine Unsupported engine
npm ERR! engine Not compatible with your version of node/npm: @jest/expect-utils@29.3.1
npm ERR! notsup Not compatible with your version of node/npm: @jest/expect-utils@29.3.1
npm ERR! notsup Required: {“node”:“^14.15.0 || ^16.10.0 || >=18.0.0”}
npm ERR! notsup Actual: {“npm”:“8.5.5”,“node”:“v17.8.0”}
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\username\AppData\Local\npm-cache_logs\2023-02-20T13_01_27_052Z-debug-0.log