8000 Parser reports "Parsing error" for new files added to project (VSCode) · Issue #2783 · typescript-eslint/typescript-eslint · GitHub
[go: up one dir, main page]

Skip to content

Parser reports "Parsing error" for new files added to project (VSCode) #2783

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
2 of 3 tasks
DarkLite1 opened this issue Nov 19, 2020 · 1 comment
Closed
2 of 3 tasks
Labels
duplicate This issue or pull request already exists

Comments

@DarkLite1
Copy link
  • I have tried restarting my IDE and the issue persists. >> solves the issue
  • I have updated to the latest version of the packages.
  • I have read the FAQ and my problem is not listed.

Repro

I'm having the same issue as reported in #864. Every time when I add a new .vue file to my project the following error is displayed:
image

All code can be found here.

Expected Result

No errior

Actual Result

[unknown]: Parsing error: "parserOptions.project" has been set for @typescript-eslint/parser.
The file does not match your project config: src\components\ApplicationForm.vue.
The file must be included in at least one of the projects provided.

Additional Info

This happens every time when adding a new file. After a restart of vscode the issue is resolved by itself

Versions

    "@typescript-eslint/eslint-plugin": "^4.8.1",
    "@typescript-eslint/parser": "^4.8.1",
    "babel-eslint": "^10.0.1",
    "eslint": "7.13.0",
    "eslint-config-prettier": "^6.15.0",
    "eslint-loader": "4.0.2",
    "eslint-plugin-prettier": "^3.1.4",
    "eslint-plugin-vue": "^7.1.0",
    "npm-run-all": "^4.1.5",
    "prettier": "^2.1.1",
    "typescript": "^4.0.5"
@DarkLite1 DarkLite1 added package: eslint-plugin-tslint Issues related to @typescript-eslint/eslint-plugin-tslint triage Waiting for team members to take a look labels Nov 19, 2020
@bradzacher
Copy link
Member
bradzacher commented Nov 19, 2020

#2127

Please use the search next time.

@bradzacher bradzacher added duplicate This issue or pull request already exists and removed package: eslint-plugin-tslint Issues related to @typescript-eslint/eslint-plugin-tslint triage Waiting for team members to take a look labels Nov 19, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants
0