How to solve the warnings that occurs while using the command "yarn install" in react js

279 Views Asked by At

I'm working on a react js app. There I build a basic application without using create-react-app command. So when I'm using "yarn install" command I'm getting these warning messages. I tried to solve the same but unable to do so.

This is the warnings which I'm getting:-

yarn install v1.22.19 info No lockfile found. [1/4] Resolving packages... [2/4] Fetching packages... [3/4] Linking dependencies... warning " > @babel/[email protected]" has unmet peer dependency "eslint@^7.5.0 || ^8.0.0". warning " > [email protected]" has unmet peer dependency "eslint@>=7.0.0". warning " > [email protected]" has unmet peer dependency "eslint@^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8". warning " > [email protected]" has unmet peer dependency "eslint@^3 || ^4 || ^5 || ^6 || ^7 || ^8". warning " > [email protected]" has unmet peer dependency "eslint@^3 || ^4 || ^5 || ^6 || ^7 || ^8". [4/4] Building fresh packages... success Saved lockfile. Done in 164.19s.Image with warnings

I am trying to remove all the warning messages.

1

There are 1 best solutions below

0
Circuit Planet On

They are harmless and can be ignored for most of the cases but if they still cause you trouble and you want to resolve them then just install it by:

yarn add eslint

as for the lockfile warning it will be resolved after you install and package

Try:

yarn add