Skip to content

šŸ› Turbopack fails to analyze permissionless ESM module – "right-associative binary expression not yet implemented"Ā #499

Description

@TheOldVar

When using Next.js v16 + Turbopack, importing the permissionless package causes the run dev and build to fail.

Turbopack cannot analyze one of the package’s ESM files and throws:
not yet implemented: right-associative binary expression

Because of this, the app cannot compile in both client and SSR modes.
The same package works correctly when switching back to Webpack, so this seems specific to Turbopack’s parser.

This issue occurs when createPimlicoClient is used.

Error output
Module not found: Can't resolve '../../actions/pimlico/estimateErc20PaymasterCost.js'

failed to analyze ecmascript module
'[project]/node_modules/permissionless/_esm/actions/pimlico/estimateErc20PaymasterCost.js [client] (ecmascript)'

Caused by:
not yet implemented: right-associative binary expression

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions