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.
<
googleapis@24.0.0 and google-auth-library@0.12.0 worked for me