Information:File is not included in any tsconfig.json
时间: 2023-05-11 14:04:32 浏览: 84
这是一个编程类的问题,可能是因为你的文件没有被包含在任何 tsconfig.json 文件中。你需要将文件添加到正确的 tsconfig.json 文件中,或者创建一个新的 tsconfig.json 文件并将其包含在其中。如果你需要更多的帮助,可以查看 TypeScript 的文档或者在 Stack Overflow 上寻求帮助。
相关问题
Vetur can't find `tsconfig.json` or `jsconfig.json` in c:\MyReponsitory\library-management-system-web_1.
Vetur is a VS Code extension for Vue.js development. It requires a `tsconfig.json` or `jsconfig.json` file to provide configuration information for TypeScript or JavaScript respectively.
If you don't already have a `tsconfig.json` or `jsconfig.json` file in your project directory, you can create one by running `tsc --init` or `npm init` respectively.
If you do have one of these files in your project directory, make sure that it is located in the root directory of your project (`c:\MyReponsitory\library-management-system-web_1`), and that its name is spelled correctly (`tsconfig.json` or `jsconfig.json`).
If the file is located in a different directory or has a different name, you can specify its location in your VS Code settings. Open your VS Code `settings.json` file and add the following line:
```
"vetur.validation.template": false,
"vetur.useWorkspaceDependencies": true,
"vetur.experimental.templateInterpolationService": true,
"vetur.format.defaultFormatterOptions": {
"prettier": {
"singleQuote": true,
"semi": false
}
},
"vetur.format.defaultFormatter": {
"prettier": {
"useTabs": true,
"tabWidth": 2,
"singleQuote": true,
"semi": false
}
},
"vetur.validation.interpolation": false,
"vetur.validation.script": false,
"vetur.validation.style": false,
"vetur.ignoreProjectWarning": true,
"vetur.format.options.tabSize": 2,
"vetur.format.options.useTabs": false,
"vetur.format.scriptInitialIndent": false,
"vetur.format.styleInitialIndent": false,
"vetur.format.defaultFormatter.js": "prettier",
"vetur.format.defaultFormatter.html": "prettier",
"vetur.format.defaultFormatter.css": "prettier",
"vetur.format.defaultFormatter.scss": "prettier",
"vetur.format.defaultFormatter.less": "prettier",
"vetur.format.defaultFormatter.postcss": "prettier",
"vetur.validation.templateProps": false,
"vetur.validation.interpolation": false,
"vetur.format.defaultFormatterOptions": {
"prettier": {
"singleQuote": true,
"semi": false
}
},
"vetur.format.enable": true,
"vetur.validation.template": false,
"vetur.useWorkspaceDependencies": true,
"vetur.experimental.templateInterpolationService": true,
"vetur.format.defaultFormatterOptions": {
"prettier": {
"singleQuote": true,
"semi": false
}
},
"vetur.format.defaultFormatter": {
"prettier": {
"useTabs": true,
"tabWidth": 2,
"singleQuote": true,
"semi": false
}
},
"vetur.validation.interpolation": false,
"vetur.validation.script": false,
"vetur.validation.style": false,
"vetur.ignoreProjectWarning": true,
"vetur.format.options.tabSize": 2,
"vetur.format.options.useTabs": false,
"vetur.format.scriptInitialIndent": false,
"vetur.format.styleInitialIndent": false,
"vetur.format.defaultFormatter.js": "prettier",
"vetur.format.defaultFormatter.html": "prettier",
"vetur.format.defaultFormatter.css": "prettier",
"vetur.format.defaultFormatter.scss": "prettier",
"vetur.format.defaultFormatter.less": "prettier",
"vetur.format.defaultFormatter.postcss": "prettier",
"[vue]": {
"editor.defaultFormatter": "octref.vetur"
}
```
In the `"vetur.validation.template"` section, add the following line:
```
"vetur.validation.template": false,
```
This will disable template validation in Vetur, which may be causing the error message you are seeing.
I hope this helps! Let me know if you have any further questions.
ERROR: File is not a binary log file.
I'm sorry, I'm not sure what you're referring to. Could you please provide more context or information about the issue you're facing so I can better assist you?
相关推荐
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![json](https://img-home.csdnimg.cn/images/20210720083646.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![json](https://img-home.csdnimg.cn/images/20210720083646.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)