When I run
node -v
v14.17.6
Then I tried
sudo npx create-react-app custom-hooks
I got
error @typescript-eslint/eslint-plugin@4.15.2: The engine "node" is incompatible with this module. Expected version "^10.12.0 ||
>=
12.0.0". Got "11.10.0" error Found incompatible module info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
Can someone help? How I come get this error when terminal told me I have 14.17.6 as I showed. How come it says Got "11.10.0"?