Skip to content

Dynamic require of "assert" is not supported #1248

@Dreamworks-dev

Description

@Dreamworks-dev

I tried to send OFT from Solana to EVM. And I installed required modules.
But I think there are some bugs in layerzerolabs/devtools-solana module.

I tried to import some functions from this module.

import {
    createConnectionFactory,
    createRpcUrlFactory,
} from '@layerzerolabs/devtools-solana';

And the error is like: Error: Dynamic require of "assert" is not supported.
Anyone can tell me what I was wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions