gauravsacc/MMM-GoogleAssistant

Error: Cannot find module '@bugsounet/google-assistant'

kmallingham opened this issue · 0 comments

I have followed each step of the process but run into issues when I get to the npm run token part.

This is the error I get:

> MMM-GoogleAssistant@4.0.5 token
> installer/token.sh

Welcome to MMM-GoogleAssistant Token generator!

Do you want to install/reinstall MMM-GoogleAssistant token? [Y/n] 
Your choice: y

node:internal/modules/cjs/loader:936
  throw err;
  ^

Error: Cannot find module '@bugsounet/google-assistant'
Require stack:
- /home/*************/MagicMirror/modules/MMM-GoogleAssistant/installer/auth_GoogleAssistant.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (/home/*************/MagicMirror/modules/MMM-GoogleAssistant/installer/auth_GoogleAssistant.js:6:25)
    at Module._compile (node:internal/modules/cjs/loader:1105:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/home/*************/MagicMirror/modules/MMM-GoogleAssistant/installer/auth_GoogleAssistant.js'
  ]
}

Done.

I definitely have the auth_GoogleAssistant.js file in my install folder of the MMM-GoogleAssistant module, but it's saying it can't find it?

Can someone help?