In the Node.js Quickstart,
Step 1, (e) says "Select the application type Other".
However there is no such entry under the options provided for "Create OAuth client ID" in the API & Services page of Google APIs. Which one to opt in that case for Node JS applications?
Google developer console changes faster then they change the tutorials.
select Oauth client id
Then select desktop app
The results will be the same as creating the old other type app
This will give you a client which id designed to run as a native application on your machine and not hosted on a web server. Which is what the sample you are following is designed to show you how to do.