Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
n1k1ts opened this issue Feb 11, 2024 · 0 comments

Comments

@n1k1ts
Copy link

n1k1ts commented Feb 11, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant