Skip to content

TypeError: buffer.utf8Write is not a function #3

@OldManMeta

Description

@OldManMeta

Hi,

I am trying to pack a string. I take a javascript object, then stringify it to JSON and try to pack it.

I keep getting the error:

TypeError: buffer.utf8Write is not a function

var jsonSTR = JSON.stringify(jsonObject); var compressed = serialize(jsonSTR);

This is a Typescript REACT application.

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