Reputation:
Hell guys, I am trying to install Strapi for my backend, but getting this error:
error [email protected]: The engine "node" is incompatible with this module. Expected version ">=10.16.0 <=14.x.x". Got "15.9.0"
error Found incompatible module.
Any pointers how to fix this issue?
Upvotes: 2
Views: 3585
Reputation: 63
Strapi won't run on NodeJS odd numbered versions - which are for developers. You are probably using the 15.14.0, so you have to change to the latest LTS (14.16.1).
To change it, you should use nvm (or node version manager). You can change temporarily with nvm use 14.16.1
or for good (which I recommend) with nvm alias default 14.16.1
Upvotes: 2