Skip to content
This repository was archived by the owner on Aug 2, 2022. It is now read-only.
This repository was archived by the owner on Aug 2, 2022. It is now read-only.

Can't find variable: Buffer #1106

Open
@Sonwanseo

Description

@Sonwanseo

Version of EOSJS
22.1.0

Describe the bug
When I use PrivateKey, I got an error.
The error message is "ReferenceError: Can't find variable: Buffer".
This error causes because there's no buffer import statement.

(The Buffer is node.js built in object, so I don't understand why this error caused...)

To Reproduce
If you need the example, please refer to my test project
Clone my project, and execute 'yarn start' in terminal
Please check 'src/PrivateKey.ts' file

Expected behavior
No Error !

Screenshots
스크린샷 2022-03-24 오후 5 03 25

Desktop (please complete the following information):

  • OS: macOS Monterey 12.2.1
  • Version
    • Node.js 16.14.2 (LTS)
    • Expo SDK 44
    • TypeScript 4.3.5

Additional context
Sorry for my bad English,,

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