Thursday, April 13, 2023

[Solved] Failed to load plugin '@typescript-eslint' problem while running a React app

 If you have ever run into this problem while working on a react project, and it seems to be working for others in your team, 

Error message: 


Failed to load plugin '@typescript-eslint' declared in '.eslintrc » eslint-config-react-app#overrides[0]': Cannot find module 'typescript'
Or 
Failed to compile.

[eslint] Failed to load plugin '@typescript-eslint' declared in 'package.json » eslint-config-react-app#overrides[0]': Cannot find module './Base'

then after trying out multiple solution and scouring different forums, I found out that simply running this on the command prompt in the project folder did the trick for me.

D:\ParagDemos\ClientPaymentDemoApp\ClientApp>npm install typescript-eslint

up to date in 7s

247 packages are looking for funding
  run `npm fund` for details
D:\ParagDemos\ClientPaymentDemoApp\ClientApp>

And it did not even change the package.json for me. 




Section 80C TMT 2023(PA) – Standard Deduction amounting to a maximum of Rs 8670 under IT rule

With the recently concluded Tax filing season (which if I may draw parallel to the Christmas holiday season enjoyed by one and all), Indians...