NotLuksus / nft-art-generator

A tool to generate generative NFT art projects.
MIT License
1.61k stars 532 forks source link

Getting Unexpected Token issue on run #21

Closed robschwartz closed 2 years ago

robschwartz commented 2 years ago

Just installed the project and ran nft-generate but seeing the error below

/usr/local/lib/node_modules/nft-art-generator/node_modules/ora/index.js:401
        } catch {
                ^

SyntaxError: Unexpected token {
    at createScript (vm.js:80:10)
    at Object.runInThisContext (vm.js:139:10)
    at Module._compile (module.js:616:28)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/usr/local/lib/node_modules/nft-art-generator/bin/index.js:9:13)

I'm running the script from the /nftg folder and the structure of images matches what is expected image

Any suggestions on how to fix?

robschwartz commented 2 years ago

I updated my filenames to image and still seeing the same issue

NotLuksus commented 2 years ago

Make sure you are using the latest version of Nodejs