You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
The text was updated successfully, but these errors were encountered: