I am realising example from Google Calendar API instruction web page. I put the code into example.js file and start it with node example.js in command line.
I am currently having the same error as this one, using codes from examples and from @noogui. I found this library working as expected although requires a lot of configuration node-google-calendar.