Skip to content

The preprocess is broken. #4863

@cy6eria

Description

@cy6eria

Problem: The npm run preprocess fails with message: "TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received an instance of Object".
OS: Mac OS 10.15.4
Node: 14.2.0
Version: With HEAD on 5010b80.

The cause of the problem is in the tasks/util/update_version.js The falafel package returns an Object, but fs.writeFile expect string, Buffer, TypedArray or DataView.

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