We recently upgraded our Angular 2 project to @angular/cli
version 1.0. We also upgraded tslint
from 2.x
to 5.x
. Now we receive the following tslint
error at design time (in VSCode Output terminal).
Cannot find module 'tslint/lib/lint' while validating.
I've attempted to follow several github thread suggestions including removing deprecated rules and adding new rules, rolling back tslint
to a previous version and completely uninstalling and reinstalling @angular/cli
and associated modules.
However, this error continues to arise and it's preventing tslint
from evaluating our code.
A previous SO post cited the same error message but apparently for a different reason; the accepted answer did not resolve my issue: Error: Cannot find module 'tslint/lib/lint' when trying to extend tslint-microsoft-contrib