Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kmallingham opened this issue Jul 20, 2022 · 0 comments
Open

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

kmallingham opened this issue Jul 20, 2022 · 0 comments

Comments

@kmallingham
Copy link

kmallingham commented Jul 20, 2022

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant