Skip to content

Recent Jotai version introduced regression #75

@collin-recentive

Description

@collin-recentive

My NextJS app failed to compile this morning out of the blue with the following error.

../../../node_modules/.bun/jotai-effect@2.1.1+32237836edc06b1a/node_modules/jotai-effect/dist/atomEffect.
js
Attempted import error: 'INTERNAL_getBuildingBlocksRev2' is not exported from 'jotai/vanilla/internals' (
imported as 'getBuildingBlocks').

When I pinned my versions to:

"jotai": "2.12.1"
"jotai-effect": "2.0.1"

The issue went away.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions