nabbl / node-red-contrib-google-home-notify

Node-Red Node to send Text messages for Google Home to read from
MIT License
17 stars 10 forks source link

issue with node-red-contrib-google-home-notify #28

Open drumstick77 opened 4 years ago

drumstick77 commented 4 years ago

Hi All,

I've just installed a new node-red on rpi4 when trying to use the node, I'm getting this error and wondered if anyone knows the fix for this? Thanks

Error: Cannot find module 'encoding'Require stack:- /home/pi/.node-red/node_modules/isomorphic-fetch/node_modules/node-fetch/lib/body.js- /home/pi/.node-red/node_modules/isomorphic-fetch/node_modules/node-fetch/index.js- /home/pi/.node-red/node_modules/isomorphic-fetch/fetch-npm-node.js- /home/pi/.node-red/node_modules/google-tts-api/lib/key.js- /home/pi/.node-red/node_modules/google-tts-api/index.js- /home/pi/.node-red/node_modules/google-home-notify/google-home-notifier.js- /home/pi/.node-red/node_modules/node-red-contrib-google-home-notify/node-red-google-home-notify.js- /usr/lib/node_modules/node-red/node_modules/@node-red/registry/lib/loader.js- /usr/lib/node_modules/node-red/node_modules/@node-red/registry/lib/index.js- /usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/nodes/index.js- /usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/index.js- /usr/lib/node_modules/node-red/lib/red.js- /usr/lib/node_modules/node-red/red.js