Skip to content

ENOENT: Bun could not find a file, and the code that produces this error is missing a better error. #10743

Description

@samyarkd

What version of Bun is running?

1.1.6

What platform is your computer?

Ubuntu WSL

What steps can reproduce the bug?

remove bun lock file and try to add a new dependency, unless you run bun install the error still persists. but even after doing it still gives error after doing one installation. (it works only once per adding a new dependency).

What is the expected behavior?

a new lock file be created but it does not get created

What do you see instead?

no lock file

Additional information

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions