TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received undefined
sSelmann opened this issue · comments
Selman Tanis commented
Hello, I'm getting the following error;
start creating NFTs.
creating NFT 1 of 500
- rarity: original
- dna: 09-08-07-04-05-07-06-02-06-020
(node:12792) UnhandledPromiseRejectionWarning: TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received undefined
at Object.writeFileSync (fs.js:1460:5)
at saveMetaDataSingleFile (C:\Users\Administrator\Desktop\generative-art-opensource-main\generative-art-opensource-main\index.js:169:6)
at C:\Users\Administrator\Desktop\generative-art-opensource-main\generative-art-opensource-main\index.js:245:4
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async startCreating (C:\Users\Administrator\Desktop\generative-art-opensource-main\generative-art-opensource-main\index.js:229:5)
(Usenode --trace-warnings ...
to show where the warning was created)
(node:12792) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag--unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:12792) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.