MMM-Assistant icon indicating copy to clipboard operation
MMM-Assistant copied to clipboard

cannot found google-client-secret.json error

Open Mark-papi opened this issue 6 years ago • 0 comments

Expected Behaviour:

Actual Behaviour:

Steps to Reproduce the Issue: The step 3 from wiki page, and when i execute the node command i get the error....

internal/modules/cjs/loader.js:550
    throw err;
    ^

Error: Cannot find module '/home/pi/MagicMirror/modules/MMM-Assistant/assets/google-client-secret.json'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:548:15)
    at Function.Module._load (internal/modules/cjs/loader.js:475:25)
    at Module.require (internal/modules/cjs/loader.js:598:17)
    at require (internal/modules/cjs/helpers.js:11:18)
    at new Auth (/home/pi/MagicMirror/modules/MMM-Assistant/node_modules/google-assistant/components/auth.js:26:15)
    at new GoogleAssistant (/home/pi/MagicMirror/modules/MMM-Assistant/node_modules/google-assistant/index.js:21:16)
    at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Assistant/scripts/google-auth.js:25:19)
    at Module._compile (internal/modules/cjs/loader.js:654:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10)
    at Module.load (internal/modules/cjs/loader.js:566:32)


node -v && npm -v; uname -a; sudo lsb_release -a;

v9.11.1
6.1.0
Linux raspberrypi 4.14.48-v7+ #1118 SMP Thu Jun 7 16:40:27 BST 2018 armv7l GNU/Linux
No LSB modules are available.
Distributor ID:	Raspbian
Description:	Raspbian GNU/Linux 8.0 (jessie)
Release:	8.0
Codename:	jessie

Mark-papi avatar Jun 13 '18 11:06 Mark-papi