Today's Trends
mediumInvestigatingBunv1.4.4+38afee6c8

Bun `bun lint` Fails With Script Not Found Error in Workspaces

  1. Investigating(current)
  2. Trending(upcoming)
  3. Workaround available(upcoming)
  4. Resolved(upcoming)

Executive summary

Users running `bun lint` within a workspace encounter an "error: Script not found "lint"" message, despite the documentation stating it requires no installation or configuration. Meanwhile, `bun fmt` continues to function as expected.

No verified workaround yet

None of the linked reports describe a mitigation. Follow this incident to hear when one appears.

Technical root cause

Under active investigation. No report has identified a root cause yet.

Evidence

1 report · 1 GitHubShow
  1. [1]
    GitHub First report
    `bun lint` outputs `error: Script not found "lint"`(opens GitHub issue in a new tab)

    What version of Bun is running? 1.4.4+38afee6c8 What platform is your computer? Linux 7.2.12-200.fc44.x86_64 x86_64 unknown What steps can reproduce the bug? Run bun lint in a workspace. What is the expected behavior? It should lint files in the workspace as stated in the docs. The docs say there's nothing to install and nothing to configure, so it should just work. What do you see instead? error: Script not found "lint" Additional information bun fmt works as expected, so it's strange that…

    by sanny-io 7upvotes 4comments

Timeline

  1. First report on GitHub issue

    `bun lint` outputs `error: Script not found "lint"`

    Source