I am using yarn create vite
to create my vue project, but after executed command I got following error message:
error [email protected]: The engine "node" is incompatible with this module. Expected version ">=12 <=16". Got "18.1.0" error Found incompatible module.
I know that error message means I need to use node version between 12~16, but I am confused that there's no mentioned node version 18 cannot use in vite document.
Am I missing something?
CodePudding user response:
The error is not with vite but with expo-cli as it says right at the start of your error message: error [email protected]:
. As the expo-cli docs state:
Only Node.js LTS releases (even-numbered) are recommended
The latest node LTS version being 16.17.1