randomBrainstormer / MMM-GoogleCalendar

Google Calendar for MagicMirror²
MIT License
69 stars 46 forks source link

Issue Running node authorize.js #30

Closed mosco42 closed 1 year ago

mosco42 commented 1 year ago

Hey everyone!

Beginner here... I'm VNC'd into the pi to run this program and here's what terminal is throwing at me when I try to run node authorize.js:

pi@raspberrypi:~/MagicMirror/modules/MMM-GoogleCalendar $ node authorize.js node:internal/modules/cjs/loader:998 throw err; ^

Error: Cannot find module '@google-cloud/local-auth' Require stack:

The API is enabled and I have tried all 3 types of client IDs (desktop, web application, TV and Limited input). Thoughts?

Thanks y'all!

mosco42 commented 1 year ago

Figured it out. Had to install some other things first. The learning continues!

nygma2004 commented 10 months ago

Can you please add what was missing? I am getting the same error