Why my npx doesnt work properly in vs code

unaiz@unaiz-Aspire-4750:~/Desktop/mango$ npx create-react-app my-app npx: installed 67 in 8.478s

Creating a new React app in /home/unaiz/Desktop/mango/my-app.

Installing packages. This might take a couple of minutes. Installing react, react-dom, and react-scripts with cra-template…

yarn add v1.22.5 [1/4] Resolving packages… [2/4] Fetching packages… 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.15.0” error Found incompatible module. info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

Aborting installation. yarnpkg add --exact react react-dom react-scripts cra-template --cwd /home/unaiz/Desktop/mango/my-app has failed.

Deleting generated file… package.json Deleting generated file… yarn.lock Done.

Well the error is pretty self explanatory. You are running on an incompatible node version for that package.

Take a look at nvm if you want to have and manage different node version on your machine.

Hope it helps.

1 Like

how to install node version 14 on ubundu 18 32bit
is it work vs code on 32 bit

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