Skip to content

RollupError: "default" is not exported by "node_modules/react-infinite-scroller/index.js" #304

@khteh

Description

@khteh

Describe the bug
A clear and concise description of what the bug is.
using v1.2.6 bump into the following build error:

[!] RollupError: "default" is not exported by "node_modules/react-infinite-scroller/index.js", imported by "src/core/DataTable.tsx".
https://rollupjs.org/guide/en/#error-name-is-not-exported-by-module
src/core/DataTable.tsx (6:7)
6: import InfiniteScroll from 'react-infinite-scroller';

To Reproduce
Please clone your layout and use of react-infinite-scroller by forking this Code Sandbox and linking it here. Doing so will massively expedite getting the bug fixed! 👊

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Device (please complete the following information):

  • OS: [e.g. Mac] Ubuntu 22.10
  • Browser [e.g. chrome, safari] Chrome
  • Version [e.g. 22] 1.2.6

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