The error says you don't have typescript installed as a project dependency.
Also, tslint will continue displaying errors if you have a tslint configuration file in your repository, so just get rid of that file. It might be worth disabling tslint in your VSCode settings (you can disable it for your workplace settings only rather than globally under your user settings).
Hopefully that helps!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi Robert, i'm trying to implement typescript and eslint to my existing nextjs project
Somehow I got error:
and for now every warning is still coming from tslint (as the warning come with
ts(<code>)
)I don't have idea why is that happen, can u help me or at least give me some insight?
The error says you don't have
typescript
installed as a project dependency.Also, tslint will continue displaying errors if you have a tslint configuration file in your repository, so just get rid of that file. It might be worth disabling tslint in your VSCode settings (you can disable it for your workplace settings only rather than globally under your user settings).
Hopefully that helps!