trufflesuite / ganache

:warning: The Truffle Suite is being sunset. For information on ongoing support, migration options and FAQs, visit the Consensys blog. Thank you for all the support over the years.
https://consensys.io/blog/consensys-announces-the-sunset-of-truffle-and-ganache-and-new-hardhat?utm_source=github&utm_medium=referral&utm_campaign=2023_Sep_truffle-sunset-2023_announcement_
MIT License
2.62k stars 679 forks source link

Start ganache error #4451

Closed zondixji closed 1 year ago

zondixji commented 1 year ago

I have a problem with using ganache in console. When I want to run Ganache it generates thousands of lines of data and ends with this:

SyntaxError: Unexpected token '?' at wrapSafe (internal/modules/cjs/loader.js:915:16) at Module._compile (internal/modules/cjs/loader.js:963:27) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10) at Module.load (internal/modules/cjs/loader.js:863:32) at Function.Module._load (internal/modules/cjs/loader.js:708:14) at Module.require (internal/modules/cjs/loader.js:887:19) at require (internal/modules/cjs/helpers.js:74:18) at Object.__webpack_require__.f.require (/usr/local/lib/node_modules/ganache/dist/node/cli.js:2:21839) at /usr/local/lib/node_modules/ganache/dist/node/cli.js:2:21160 at Array.reduce ()

my nodejs version is v12.22.9

Thanks

davidmurdoch commented 1 year ago

v12 isn't supported. Use versions v14-18

zondixji commented 1 year ago

Thanks