HashLips / hashlips_art_engine

HashLips Art Engine is a tool used to create multiple different instances of artworks based on provided layers.
MIT License
7.19k stars 4.3k forks source link

npm run generate / node index.js wats wrong ? #894

Open kasun19944 opened 2 years ago

kasun19944 commented 2 years ago

hashlips_art_engine@1.1.1 generate C:\Users\LENOVO\Downloads\hashlips_art_engine-main (1)\hashlips_art_engine-main node index.js

C:\Users\LENOVO\Downloads\hashlips_art_engine-main (1)\hashlips_art_engine-main\src\main.js:94 layerObj.options?.["displayName"] != undefined ^

SyntaxError: Unexpected token . at Module._compile (internal/modules/cjs/loader.js:723:23) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3) at Module.require (internal/modules/cjs/loader.js:692:17) at require (internal/modules/cjs/helpers.js:25:18) at Object. (C:\Users\LENOVO\Downloads\hashlips_art_engine-main (1)\hashlips_art_engine-main\index.js:2:39) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! hashlips_art_engine@1.1.1 generate: node index.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the hashlips_art_engine@1.1.1 generate script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\LENOVO\AppData\Roaming\npm-cache_logs\2022-03-07T06_10_39_183Z-debug.log PS C:\Users\LENOVO\Downloads\hashlips_art_engine-main (1)\hashlips_art_engine-main>

bolshoytoster commented 2 years ago

@kasun19944 you need to update your node.js. If you don't want to, you could use my fork instead.

kasun19944 commented 2 years ago

thanks @bolshoytoster

kasun19944 commented 2 years ago

How to set the resolution of the image to 300pp @bolshoytoster

bolshoytoster commented 2 years ago

@kasun19944 in src/config.js, ~line 44: https://github.com/HashLips/hashlips_art_engine/blob/d8ee279043d2d4a8de3bdfac0d89d0e966fb04a2/src/config.js#L44-L48

You can change width and height to the dimensions you want (in pixels).

kasun19944 commented 2 years ago

Thank you

On Tue, Mar 8, 2022 at 3:26 AM bolshoytoster @.***> wrote:

@kasun19944 https://github.com/kasun19944 in src/config.js, ~line 44:

https://github.com/HashLips/hashlips_art_engine/blob/d8ee279043d2d4a8de3bdfac0d89d0e966fb04a2/src/config.js#L44-L48

You can change width and height to the dimensions you want (in pixels).

— Reply to this email directly, view it on GitHub https://github.com/HashLips/hashlips_art_engine/issues/894#issuecomment-1061176818, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYC4IXEILPOI7RM6H4FBJW3U6Z3QRANCNFSM5QCKCGFQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>