Skip to content

Hashlips Engine gives error after generating 1 image and NO Metadata is generated #236

Description

@n1k1ts

Hi Guys,

Can someone PLEASE help, I am getting this error :

UnhandledPromiseRejectionWarning: TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received undefined

The error is shown on these lines:

const writeMetaData = (_data) => {
fs.writeFileSync(${buildDir}/json/_metadata.json, _data);
};

fs.writeFileSync(
${buildDir}/json/${_editionCount}.json,
JSON.stringify(metadata, null, 2)
);

saveMetaDataSingleFile(abstractedIndexes[0]);

Many thanks

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions