Skip to content

Bun 1.3.0 package install casue conflict with eslint #23481

@arvinxx

Description

@arvinxx

What version of Bun is running?

1.3.0

What platform is your computer?

linux

What steps can reproduce the bug?

https://github.com/lobehub/lobe-chat/actions/runs/18425320643/job/52505683243

Run bun run lint
  bun run lint
  shell: /usr/bin/bash -e {0}
$ bun run lint:ts && bun run lint:style && bun run type-check && bun run lint:circular
$ eslint "{src,tests}/**/*.{js,jsx,ts,tsx}" --fix

Oops! Something went wrong! :(

ESLint: 8.57.1

ESLint couldn't find the plugin "eslint-plugin-unicorn".

(The package "eslint-plugin-unicorn" was not found when loaded as a Node module from the directory "/home/runner/work/lobe-chat/lobe-chat".)

It's likely that the plugin isn't installed correctly. Try reinstalling by running the following:

    npm install eslint-plugin-unicorn@latest --save-dev

The plugin "eslint-plugin-unicorn" was referenced from the config file in ".eslintrc.js".

If you still can't figure out the problem, please stop by https://eslint.org/chat/help to chat with the team.

if using [email protected] it will pass: https://github.com/lobehub/lobe-chat/actions/runs/18425524292/job/52506391463

What is the expected behavior?

it should pass with eslint

What do you see instead?

it failed

Additional information

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingbun installSomething that relates to the npm-compatible client

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions