bun
bun copied to clipboard
ESLint: IntelliJ timeouts at "Starting ESLint service" since bun version >= 1.0.31
What version of Bun is running?
1.1.8+89d25807f
What platform is your computer?
Darwin 23.5.0 arm64 arm
What steps can reproduce the bug?
See: https://github.com/mstuercke/bun-issue-11221-example
- Install a bun version >= 1.0.31
- IntelliJ: Use bun as node interpreter and package manager (
Settings->Language & Frameworks->Node.js) - IntelliJ: Enable automatic ESLint configuration (
Settings->Language & Frameworks->Code Quality Tools->ESLint)
What is the expected behavior?
Linting works in IntelliJ (as in bun 1.0.30 and previous versions)
What do you see instead?
- A background task named "Starting ESLint service" is started
- The background task timeouts after some time and ESLint is not working
This is what I found in the logs:
#c.i.l.j.s.JSLanguageServiceQueue - ESLint: Timed out waiting for ready notification
Additional information
- The same may apply for WebStorm
- When I downgrade the version to 1.0.30 or lower, everything works immediately (
curl -fsSL https://bun.sh/install | bash -s "bun-v1.0.30"
@Electroid I've created a minimal project that leads to this problem: https://github.com/mstuercke/bun-issue-11221-example
@Electroid Would you please remove the "needs repro" label, as I've provided an example already? Thank you!
Also experiencing this problem with Bun 1.18 and Webstorm 2024.1.5.
@Electroid Would you please remove the "needs repro" label, as I've provided an example already? Thank you!
@Electroid @Jarred-Sumner I think this issue will be ignored until the "needs repro" label is being removed. Would anyone please remove it? Thank you!
I'm also seeing this issue. With Bun set as the node interpreter and package manager in IntelliJ settings.
Maybe, JetBrains will solve the problem with https://youtrack.jetbrains.com/issue/WEB-67011 - but no one knows when/if they will start working on it. But it's strange, that the Bun versions 1.0.30 and below are working fine. Something fundamental must have been changed in 1.0.31. The release notes did not help me to find the direction to the cause.
The Bun plugin is now available in IntelliJ but this bug still persists. I've created a bug issue here: https://youtrack.jetbrains.com/issue/WEB-69940/Starting-ESLint-service-timeouts-since-Bun-version-1.0.31
Experiencing the same with latest Bun (1.1.34) and WebStorm (2024.3) on a MacBook M4 Pro. It's the first time I've tried WebStorm for a project, so I am straight back to VS Code until this is fixed.
Experiencing the same issue. If you need more info about the bug, I can provide more if needed