Unable to make it working
See original GitHub issueI’m unable to get errors in editors, I’ve try with different versions of Typescript, Eslint, @typescpt-eslint/parser (either older or newer versions). It doesn’t work also in Visual Studio.
I don’t know how to diagnose this issue, I have no clue where to look at. In the tsserver.log seems that the plugin was load correctly but no error show up in the editor:
Info 27 [8:14:23.524] Enabling plugin typescript-eslint-language-service from candidate paths: c:/Users/leoniDAM/Dev/Projects/Pretty/tsplugin/node_modules/typescript/lib/tsserver.js/../../..
Info 28 [8:14:23.525] Loading typescript-eslint-language-service from c:/Users/leoniDAM/Dev/Projects/Pretty/tsplugin/node_modules/typescript/lib/tsserver.js/../../.. (resolved to c:/Users/leoniDAM/Dev/Projects/Pretty/tsplugin/node_modules/node_modules)
Info 29 [8:14:25.399] [typescript-eslint-language-service] config: [object Object]
Info 30 [8:14:25.407] Plugin validation succeded
[...]
Info 91 [8:14:28.515] [typescript-eslint-language-service] use '@typescript-eslint/parser'
this with:
typescript: 3.5.3
eslint: 6.0.1
@typescript-eslint/parser: 2.0.0
@typescript-eslint/eslint-plugin: 2.0.0
typescript-eslint-language-service: 1.4.0
Instead with the latest versions of the packages in the tsserver.log I have:
Info 27 [8:42:22.829] Enabling plugin typescript-eslint-language-service from candidate paths: c:/Users/leoniDAM/Dev/Projects/Pretty/tsplugin/node_modules/typescript/lib/tsserver.js/../../..
Info 28 [8:42:22.829] Loading typescript-eslint-language-service from c:/Users/leoniDAM/Dev/Projects/Pretty/tsplugin/node_modules/typescript/lib/tsserver.js/../../.. (resolved to c:/Users/leoniDAM/Dev/Projects/Pretty/tsplugin/node_modules/node_modules)
Info 29 [8:42:24.704] Failed to load module 'typescript-eslint-language-service' from c:/Users/leoniDAM/Dev/Projects/Pretty/tsplugin/node_modules/node_modules: Error: Cannot find module '@typescript-eslint/parser/dist/simple-traverse'
[...]
Info 30 [8:42:24.704] Couldn't find typescript-eslint-language-service
typescript: 3.7.2
eslint: 6.6.0
@typescript-eslint/eslint-plugin: 2.8.0
@typescript-eslint/parser: 2.8.0
typescript-eslint-language-service: 1.4.0
The .eslintrc.json is:
{
"root": true,
"env": {
"browser": true,
"es6": true
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"project": "./tsconfig.json"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"no-var": "error"
}
}
and the tsconfig.json:
{
"compilerOptions": {
"target": "es2017" ,
"module": "es6",
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"plugins": [
{
"name": "typescript-eslint-language-service"
}
]
}
}
The version of VSCode is 1.41.0-insider
the version of Visual Studio is 16.4.0 Preview 5.0
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Which is correct “I can't make it work” or “I can't make it to work”?
In “I can't make it work,” “work” is a verbal, a “bare” infinitive without the “to” sign, as is usual after “make”; in...
Read more >I can't make it to work today. - WordReference Forums
"I can't make it to work today" means that you cannot attend your place of work, and it implies a journey. Perhaps your...
Read more >Fix an installed Android app that isn't working - Google Support
Try the following steps if an app installed on your phone has any of these problems: Crashing. Won't open. Won't respond. Isn't working...
Read more >If you can't make or receive a FaceTime call on your iPhone or ...
Go to Settings > FaceTime and make sure that FaceTime is on. If you see "Waiting for Activation," turn FaceTime off and then...
Read more >Fix problems with the Start menu - Microsoft Support
Learn more about how to fix problems with the Windows Start menu, and what to do if the Start menu won't open.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Still doesn’t works, now in tsserver.log I got:
Thanks for your reporting. I’ll check this 🙇