Solved MMM-GoogleAssistant Error: Cannot find module '@bugsounet/google-assistant'
-
I’m a very new learner to all things pi and MagicMirror and followed Bugs’s step by step instructions and ran into issues when trying to run the final “npm run token” step.
This is my error, and I can’t seem to understand where I wen’t wrong. Can anyone help?
> 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.
Can anyone help me sort this out? I feel like I am so close!
-
followed Bugs’s step by step instructions
not really sure !
why ?
Error: Cannot find module '@bugsounet/google-assistant'
just say that you have not installed all needed libraryin 1st Step you have this :
and if you don’t do
npm install
(like 99% of all MagicMirror modules) you have your error -
It looks like I somehow missed that on the only module I needed!
Now I am getting this error when trying to run token command:[GA] Error: Bad credentials missing: redirect_uris
Can you help with this one?
Also, I’d love to donate to the server to get the YouTube module, how much is needed to get access to the module?
Thank you for your help! -
[GA] Error: Bad credentials missing: redirect_uris
Are you really sure that you have read my wiki?
Or your prefer some YouTube video with Bad or Old “tutorial” …in this second case … I can’t do nothing for you, sorry
I will not loose my time to writing a wiki website if no one want to read it !Good luck
-
I have wiped my Pi and started from scratch, and it has since worked.
-
bugsounet