Я получаю сообщение об ошибке Data path ".fix" should be boolean.
при запуске tslint
в моем приложении Angualar6
. Почему?
C:\...\web\ui>npm run lint src\app\answer-form\answer-form.component.ts
> ui@0.0.0 lint C:\Users\Public\Documents\manu\codingjedi\code_related\code\frontend\web\ui
> ng lint --fix "src\app\answer-form\answer-form.component.ts"
Schema validation failed with the following errors:
Data path ".fix" should be boolean.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ui@0.0.0 lint: `ng lint --fix "src\app\answer-form\answer-form.component.ts"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ui@0.0.0 lint script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\surface\AppData\Roaming\npm-cache\_logs\2020-02-16T09_28_03_855Z-debug.log
Я также попытался запустить npm run lint ui --silent=false --files src\app\answer-form\answer-form.component.ts
, но cli
, кажется, зависает, и я не вижу никакого вывода на экране.
C:\Users\...\web\ui>npm run lint ui --files src\app\answer-form\answer-form.component.ts
> ui@0.0.0 lint C:\...\ui
> ng lint --fix=true --silent=false "ui" "src\app\answer-form\answer-form.component.ts"