Not using the local TSLint version found for XXX

简介: 今天我打开Visual Studio Code准备进行Angular开发时,看到Angular TSLint报了这个警告信息:

image.png

Not using the local TSLint version found for ‘c:/Code/SPA/spartacus/feature-libs/organization/administration/components/unit/services/unit-list.service.spec.ts’

To enable code execution from the current workspace you must enable workspace library execution.


https://exerror.com/not-using-the-local-tslint-version-found-errors-in-my-angular-application/


解决方案

打开Ctrl + Shift + P,输入Manage workspace library execution

image.png

选择之后,回车,TSLint即重新刷新。

image.png


相关文章
CMake Error: The source “xxx“ does not match the source “yyy“ used to generate cache. Re-run cmake
CMake Error: The source “xxx“ does not match the source “yyy“ used to generate cache. Re-run cmake
761 0
|
5月前
|
Java
No tag [else] defined in tag library imported with prefix [c]] with root cause
No tag [else] defined in tag library imported with prefix [c]] with root cause 错误处理
39 0
|
Java Maven
Error running ‘ssm [clean]‘: No valid Maven installation found. Either set the home directory in the
Error running ‘ssm [clean]‘: No valid Maven installation found. Either set the home directory in the
114 0
|
Java Maven
No valid Maven installation found. Either set the home directory in the configuration dialog or set
No valid Maven installation found. Either set the home directory in the configuration dialog or set
873 0
No valid Maven installation found. Either set the home directory in the configuration dialog or set
No plugin found for prefix ‘doclint‘ in the current project
No plugin found for prefix ‘doclint‘ in the current project
122 0
ERROR: libass not found using pkg-config2
ERROR: libass not found using pkg-config2
146 0
ERROR: libass not found using pkg-config
ERROR: libass not found using pkg-config
173 0