hashlips_art_engine: TypeError: Cannot read properties of undefined (reading 'Path')
I am getting the following error message
PS C:\Users\liste\Downloads\Try this guy\hashlips_art_engine-main> npm run generate
hashlips_art_engine@1.1.1 generate node index.js
C:\Users\liste\Downloads\Try this guy\hashlips_art_engine-main\src\main.js:184
const image = await loadImage(${_layer.selectedElement.Path});
^
TypeError: Cannot read properties of undefined (reading ‘Path’)
at C:\Users\liste\Downloads\Try this guy\hashlips_art_engine-main\src\main.js:184:61
at new Promise (<anonymous>)
at loadLayerImg (C:\Users\liste\Downloads\Try this guy\hashlips_art_engine-main\src\main.js:183:10)
at C:\Users\liste\Downloads\Try this guy\hashlips_art_engine-main\src\main.js:364:31
at Array.forEach (<anonymous>)
at startCreating (C:\Users\liste\Downloads\Try this guy\hashlips_art_engine-main\src\main.js:363:17)
at C:\Users\liste\Downloads\Try this guy\hashlips_art_engine-main\index.js:6:3
at Object.<anonymous> (C:\Users\liste\Downloads\Try this guy\hashlips_art_engine-main\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)
About this issue
- Original URL
- State: open
- Created 2 years ago
- Reactions: 1
- Comments: 15
remove “-” from names
I figured it out. It was because one of the filenames was wrong.
In particular for me, I was using a hyphen.
It turns out I had hyphens - in the file name of my images. Once, I removed them all, it worked. Thank Jesus.