TypeError: Cannot read properties of undefined (reading 'path')
See original GitHub issueAttempting to generate any amount of images, “node index.js” is sent into terming. A few images get made with a DNA and then this error pops up:
C:\Users\Patch\OneDrive\Desktop\doggo\NFT GENERATOR\src\main.js:181
const image = await loadImage(${_layer.selectedElement.path}
);
^
TypeError: Cannot read properties of undefined (reading ‘path’)
at C:\Users\Patch\OneDrive\Desktop\doggo\NFT GENERATOR\src\main.js:181:61
at new Promise (<anonymous>)
at loadLayerImg (C:\Users\Patch\OneDrive\Desktop\doggo\NFT GENERATOR\src\main.js:180:10)
at C:\Users\Patch\OneDrive\Desktop\doggo\NFT GENERATOR\src\main.js:361:31
at Array.forEach (<anonymous>)
at startCreating (C:\Users\Patch\OneDrive\Desktop\doggo\NFT GENERATOR\src\main.js:360:17)
at C:\Users\Patch\OneDrive\Desktop\doggo\NFT GENERATOR\index.js:6:3
at Object.<anonymous> (C:\Users\Patch\OneDrive\Desktop\doggo\NFT GENERATOR\index.js:7:3)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions…js (node:internal/modules/cjs/loader:1153:10)
Issue Analytics
- State:
- Created 2 years ago
- Comments:17
you can’t use “-” in any image name
Thank you very much!