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


相关文章
|
10月前
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
388 0
E: flAbsPath on /var/lib/dpkg/status failed - realpath (2: 没有那个文件或目录)
E: flAbsPath on /var/lib/dpkg/status failed - realpath (2: 没有那个文件或目录)
155 0
|
4月前
|
关系型数据库 MySQL 数据库
Mysql-错误处理: Found option without preceding group in config file
Mysql-错误处理: Found option without preceding group in config file
143 0
|
7月前
cancal报错 config dir not found
cancal报错 config dir not found
SVN报错is too old (format 10) to work with client version
SVN报错is too old (format 10) to work with client version
|
11月前
|
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
ERROR: libass not found using pkg-config2
ERROR: libass not found using pkg-config2
100 0
ERROR: libass not found using pkg-config
ERROR: libass not found using pkg-config
109 0
No plugin found for prefix ‘doclint‘ in the current project
No plugin found for prefix ‘doclint‘ in the current project
97 0
flAbsPath on /var/lib/dpkg/status failed - realpath
flAbsPath on /var/lib/dpkg/status failed - realpath
88 0