Skip to content

bun install cannot resolve local file dependencies #10324

Closed

Description

@Stono

What version of Bun is running?

1.1.4+fbe2fe0c3

What platform is your computer?

macosx

What steps can reproduce the bug?

We have a module we publish which bundles some eslint rules, and it does so with a file:./ reference in the package.json

Screenshot 2024-04-17 at 11 59 27

Subsequently this fails to install in a downstream app with:

error: eslint-plugin-webserver-custom-rules@file:./webserver-custom-rules failed to resolve
error: eslint-plugin-custom-rules@file:./custom-rules failed to resolve

What is the expected behavior?

File dependencies to work

What do you see instead?

No response

Additional information

No response

Activity

  1. added
    bug
    on Apr 17, 2024
  2. added
    bun install
    on Apr 17, 2024
  3. dylan-conway commented on Apr 17, 2024

    @dylan-conway
    Member

    Thank you for the bug report. We will fix this soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugbun install

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions