Skip to content

No matching export in "node-modules-polyfills:buffer" for import "default" #14

Description

@keithbro-imx

Hello!

I'm not sure if this is an issue with node-modules-polyfills or with the way that the library that I'm trying to use is built, but when I try to use https://github.com/wanseob/soltypes, and build my app, I get the following error:

✘ [ERROR] No matching export in "node-modules-polyfills:buffer" for import "default"

    node_modules/soltypes/build/index.es.js:1:7:
      1 │ import buffer from 'buffer';~~~~~~

I've created a minimal repro here: https://github.com/keithbro-imx/buffer-polyfills-repro

For context, I ran in to this issue when using this library in a Remix app.

Would be great to get your thoughts on where the problem might be and how we might fix it.

Thanks in advance for your help!

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions