← All tasks
javascriptimport-js/eslint-import-resolver-typescript #386Not a task: not reproduced

Unable to resolve path to module 'bun:test' with 4.0.0 while 3.9.1 is OK

envgap__import-js__eslint-import-resolver-typescript-386

01 / FAILURE SIGNATURE

As reported upstream

error  Unable to resolve path to module 'bun:test'  import/no-unresolved
Not a benchmark task.
  • In a clean container the reported failure did not reproduce, or the known fix did not make the project run.

02 / ENVIRONMENT RECIPE

Base commit
ef5cd1083207d560b35694b99ccfefa4a1234acb
Manifest
package.json
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

import-js/eslint-import-resolver-typescript #386 · read the original issue
Minimal repro:

git clone https://github.com/tomchen/eslint-import-resolver-typescript-bun-test.git

`bun install`

`bun eslint`

(or with npm, yarn, etc.)

It shows:

> error  Unable to resolve path to module 'bun:test'  import/no-unresolved

But if you downgrade eslint-import-resolver-typescript v4.0.0 to v3.9.1, the error will disappear

P.S. [`@types/bun`](https://www.npmjs.com/package/@types/bun) package is a shim that loads [`bun-types`](https://www.npmjs.com/package/bun-types), type definitions for [bun](https://bun.sh/)
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]