What could be causing this error message to appear? Here is my current configuration:
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "tsconfig.json",
"tsconfigRootDir": ".",
"ecmaVersion": 6,
"sourceType": "module"
}
"devDependencies": {
"@typescript-eslint/parser": "^3.7.0",
"eslint": "^7.4.0",
"typescript": "2.5.2"
}
Despite this configuration, I am encountering the following error: Parsing error: ts.createWatchCompilerHost is not a function
Interestingly, changing the TypeScript version to anything above 3.3.1 resolves the issue.