Closed ameba23 closed 3 years ago
Thanks for the report, I've been using node 12 so I hadn't come across this.
Does updating the yargs dependency help? Try cloning the repo, running npm i --save yargs@latest
and running ./bin run-service
strangely, no that doesn't seem to help.
it bumps yargs from 13.2.2 to 16.2.0, but the same error is still getting thrown. maybe this is an issue for yargs. although searching yargs' 248 open issues for 'globalThis' didnt give any results.
also working fine for me with node 12 so maybe this is not such a big problem.
Hmm, I'm going to close this for now and suggest folks use a newer node version, but I'm open to PRs for a fix if somebody comes up with one. 😅
using node version 10.23.0 this works great for me.
but with node 11.15.0 i get the following error when starting the service.