Solved Google assistant token problem
Hi there, I have installed google assistant on my raspberry pi 3A and went through the configuration process by I ran into a problem when I tried to run google assistant. I ran “npm run token” and this error came up :
I have been looking everywhere to find out what’s wrong but can’t seem to find anything. any help would be greatly appreciated.
Hi, I just test with a clean dependencies and I detect no problem.
- node version problem (tested with v16.x)
- OS version is bad (tested with bulleyes)
Hi again I checked the OS and node version and it’s the same as yours.
@bugsounet Also, I was wondering if we are supposed to get a token file in the MMM-GoogleAssistant directory?
Can you try this couple of commands:
cd ~/MagicMirror/modules/MMM-GoogleAssistant rm -rf node_modules/ package-lock.json npm run update npm run token