linkedin/qark

npm run generate error

desmax-designer opened this issue · 0 comments

hey developers, i am getting this error whenever i tried to use command ''npm run generate'' i followed a youtube video each and every step but his command did work but I am not able to do it. Can anyone help me out, how can i resolve this error? Thanks!

hashlips_art_engine@1.1.1 generate
node index.js

(node:17356) [DEP0147] DeprecationWarning: In future versions of Node.js, fs.rmdir(path, { recursive: true }) will be removed. Use fs.rm(path, { recursive: true }) instead
(Use node --trace-deprecation ... to show where the warning was created)
F:\NFT\hashlips_art_engine-1.1.2_patch_v1\hashlips_art_engine-1.1.2_patch_v1\src\main.js:183
const image = await loadImage(${_layer.selectedElement.path});
^

TypeError: Cannot read properties of undefined (reading 'path')
at F:\NFT\hashlips_art_engine-1.1.2_patch_v1\hashlips_art_engine-1.1.2_patch_v1\src\main.js:183:61
at new Promise ()
at loadLayerImg (F:\NFT\hashlips_art_engine-1.1.2_patch_v1\hashlips_art_engine-1.1.2_patch_v1\src\main.js:182:10)
at F:\NFT\hashlips_art_engine-1.1.2_patch_v1\hashlips_art_engine-1.1.2_patch_v1\src\main.js:363:31
at Array.forEach ()
at startCreating (F:\NFT\hashlips_art_engine-1.1.2_patch_v1\hashlips_art_engine-1.1.2_patch_v1\src\main.js:362:17)
at F:\NFT\hashlips_art_engine-1.1.2_patch_v1\hashlips_art_engine-1.1.2_patch_v1\index.js:6:3
at Object. (F:\NFT\hashlips_art_engine-1.1.2_patch_v1\hashlips_art_engine-1.1.2_patch_v1\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)