Nothing happens...
jchadwick opened this issue · 3 comments
jchadwick commented
Running the example from the homepage nothing happens. The app just exits - no error or message or anything.
How come nothing is displayed?
Steps to reproduce:
- Init/install
npm init -y
npm i anylist
- Copy example from homepage into
index.js
- Change email/password
node index.js
...nothing.
Node version v19.0.0
jchadwick commented
I nvm'ed down to 12.7.0 and the same code works as-is. Looks like this is a problem with more recent versions of Node.
kevdliu commented
I updated my node installation to the latest v20.8.1 and it's working for me. Could you add some print statements inside the callback for any.login().then()
to see where it's unexpectedly exiting?
jchadwick commented
Yeah, I recently installed this on v21.2.0 and everything was fine. Happy to close this now, I guess, but note that some versions of Node (19.x?) might still be broken.