Skip to content

der.ts:6 Uncaught ReferenceError: Buffer is not defined #255

@SyedImam1998

Description

@SyedImam1998

I am facing this issue when i used
import { encrypt } from '@metamask/eth-sig-util';
i am facing this error
i have also tried
import {Buffer} from 'buffer';
Can someone please guide me here?

image

`

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