Skip to content

🐛 2.0.1 @biomejs/cli-linux-x64 broken? #6435

@uhyo

Description

@uhyo

Environment information

biome rage result: N/A (Biome can't even launch)
  • Windows 11 + WSL 2 (me)
  • Mac OS (see comment)

What happened?

Hi, I've just installed the latest Biome in a new project.

Any biome command results in the following error:

Error: Cannot find module '@biomejs/cli-linux-x64/biome'
Require stack:
- /tmp/biome-v2-test/node_modules/@biomejs/biome/bin/biome
    at Function._resolveFilename (node:internal/modules/cjs/loader:1401:15)
    at Function.resolve (node:internal/modules/helpers:145:19)
    at Object.<anonymous> (/tmp/biome-v2-test/node_modules/@biomejs/biome/bin/biome:48:11)
    at Module._compile (node:internal/modules/cjs/loader:1730:14)
    at Object..js (node:internal/modules/cjs/loader:1895:10)
    at Module.load (node:internal/modules/cjs/loader:1465:32)
    at Function._load (node:internal/modules/cjs/loader:1282:12)
    at TracingChannel.traceSync (node:diagnostics_channel:322:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [ '/tmp/biome-v2-test/node_modules/@biomejs/biome/bin/biome' ]
}

Node.js v22.16.0

Apparently @biome/cli-linux-x86 package doesn't contain the biome binary.

https://www.npmjs.com/package/@biomejs/cli-linux-x64/v/2.0.1?activeTab=code

(Other platforms may be affected too, sorry I haven't checked)

Expected result

Should work.

Code of Conduct

  • I agree to follow Biome's Code of Conduct

Metadata

Metadata

Assignees

Labels

A-CLIArea: CLIS-Bug-confirmedStatus: report has been confirmed as a valid bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions