❗ Incorrect Target Target version mismatch. You can specify the target version in vueCompilerOptions.target in tsconfig.json / jsconfig.json. (Expected "target": 2.7)
时间: 2024-02-23 13:03:07 浏览: 19
It seems that there is a version mismatch between the target version specified in the tsconfig.json/jsconfig.json and the expected target version in the vueCompilerOptions.target. The error message suggests that the expected target version is 2.7, while the tsconfig target is set to a different version.
To fix this issue, you can do the following:
1. Open the tsconfig.json/jsconfig.json file in your project.
2. Add a "vueCompilerOptions" object if it doesn't exist already.
3. Inside the "vueCompilerOptions" object, add a "target" property and set it to "es2018" or any other version that matches the expected target version (2.7 in this case).
Here's an example of what the updated tsconfig.json/jsconfig.json file might look like:
```
{
"compilerOptions": {
// your existing compiler options
},
"vueCompilerOptions": {
"target": "es2018"
}
}
```
Once you've made these changes, try running your application again to see if the issue has been resolved.