eslint server takes ~3-5 minutes until available
See original GitHub issueI don’t know since when this is a problem but the start of the eslint server takes between 3-5 minutes here.
[Info - 10:12:55] ESLint server is running.
[Info - 10:16:05] ESLint library loaded from: d:\Workspaces\xxx\xxx-client\node_modules\eslint\lib\api.js
I just upgraded from eslint 3.x to 4.19.1, which didn’t help.
Any information I can provide to hunt that down?
Issue Analytics
- State:
- Created 5 years ago
- Comments:33 (12 by maintainers)
Top Results From Across the Web
ESLint not working in VS Code? - Stack Overflow
If ESLint is running in the terminal but not inside VSCode, it is probably because the extension is unable to detect both the...
Read more >Local Install of ESLint Breaks In-Editor Linting
From what I've read it seems that VS 2019 is designed to use a global version of ESLint by default but to favor...
Read more >Code Quality Tooling with Prettier and ESLint - Wes Bos
ESLint, is a JavaScript linter for identifying and reporting potential issues ... eslint demo page with rule selector showing the list of available...
Read more >no-loop-func - ESLint - Pluggable JavaScript Linter
A pluggable and configurable linter tool for identifying and reporting on patterns in JavaScript. Maintain your code quality with ease.
Read more >failed to apply eslint fixes to the document. please consider ...
Failed to load plugin 'prettier' declared in '.eslintrc.js ... O U T P U T */ [Info - 10:19:30 PM] ESLint server is...
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 FreeTop 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
Top GitHub Comments
As I said, what’s happing on @drw112 end is an update-check, which gets blocked by the firewall as it not goes through the proxy …
@drw112 we should try the
NO_UPDATE_NOTIFIER=1
environment setting to disable that check.It seems to be taking a very long time on line 310
_globalNpmPath = Files.resolveGlobalNodePath(trace);
in the globalNpmPath function
It does eventually return the right path for the _globalNpmPath variable.
Looking in files.js it seems to be taking forever on the spawnSync command
Eventually stdout comes back with the npm folder in my roaming profile (Windows)
I see these log lines in the Debug Console
[dbaeumer.vscode-eslint] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'eslint._legacyModuleResolve', provide the URI of a resource or 'null' for any resource. extensionHostProcess.js:494 [dbaeumer.vscode-eslint] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'eslint.nodePath', provide the URI of a resource or 'null' for any resource. extensionHostProcess.js:494