Need help implementing Google Assistant Relay

I have been following the instructions from Greg Hesp. My novice skills got me to the point of downloading the credentials json file.
Next instruction was to execute the command "npm run start". The command starts but then fails. I am not experienced enough to resolve the error messages. Perhaps someone can advise me steps to resolve. Here is what the npm run start command yields:

pi@raspberrypi:~ $ cd Assistant-Relay
pi@raspberrypi:~/Assistant-Relay $ npm run start

assistant-relay@3.3.2 start /home/pi/Assistant-Relay
pm2 start ./bin/www && pm2 log www

[PM2] Applying action restartProcessId on app [www](ids: [ 0 ])
[PM2] www
[PM2] Process successfully started
┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
│ id │ name │ mode │ ↺ │ status │ cpu │ memory │
├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
│ 0 │ www │ fork │ 31 │ online │ 0% │ 18.6mb │
└────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
[TAILING] Tailing last 15 lines for [www] process (change the value with --lines option)
/home/pi/.pm2/logs/www-out.log last 15 lines:
0|www | GET /static/css/2.4af953f8.chunk.css 200 3.366 ms - 268376
0|www | GET /static/js/main.4e10c66e.chunk.js 200 14.154 ms - 62860
0|www | GET /static/js/2.2f2d0ed6.chunk.js 200 13.332 ms - 1765170
0|www | POST /server/userCount 200 83.082 ms - 10
0|www | GET /favicon-32x32.png 200 2.438 ms - 1435
0|www | GET /favicon-32x32.png 304 3.149 ms - -
0|www | GET /setup 200 8.665 ms - 3197
0|www | GET /static/js/main.4e10c66e.chunk.js 200 3.582 ms - 62860
0|www | GET /static/css/2.4af953f8.chunk.css 200 3.145 ms - 268376
0|www | GET /static/js/2.2f2d0ed6.chunk.js 200 2.734 ms - 1765170
0|www | POST /server/userCount 200 36.717 ms - 10
0|www | GET /favicon-32x32.png 200 2.523 ms - 1435
0|www | POST /server/addUser 200 35.757 ms - 297
0|www | POST /server/processOAuth 200 372.595 ms - -
0|www | POST /server/userCount 200 28.743 ms - 10

/home/pi/.pm2/logs/www-error.log last 15 lines:
0|www | at require (internal/modules/cjs/helpers.js:77:18)
0|www | at Object. (/home/pi/Assistant-Relay/helpers/server.js:5:17)
0|www | at Module._compile (internal/modules/cjs/loader.js:1133:30)
0|www | at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)
0|www | at Module.load (internal/modules/cjs/loader.js:977:32)
0|www | at Function.Module._load (internal/modules/cjs/loader.js:877:14)
0|www | at Module.require (internal/modules/cjs/loader.js:1019:19)
0|www | at Module.Hook._require.Module.require (/home/pi/Assistant-Relay/node_modules/require-in-the-middle/index.js:80:39) {
0|www | code: 'MODULE_NOT_FOUND',
0|www | requireStack: [
0|www | '/home/pi/Assistant-Relay/helpers/server.js',
0|www | '/home/pi/Assistant-Relay/app.js',
0|www | '/home/pi/Assistant-Relay/bin/www'
0|www | ]
0|www | }

0|www | Error: Cannot find module 'bonjour'
0|www | Require stack:
0|www | - /home/pi/Assistant-Relay/helpers/server.js
0|www | - /home/pi/Assistant-Relay/app.js
0|www | - /home/pi/Assistant-Relay/bin/www
0|www | at Function.Module._resolveFilename (internal/modules/cjs/loader.js:957:15)
0|www | at Module.Hook._require.Module.require (/home/pi/Assistant-Relay/node_modules/require-in-the-middle/index.js:61:29)
0|www | at require (internal/modules/cjs/helpers.js:77:18)
0|www | at Object. (/home/pi/Assistant-Relay/helpers/server.js:5:17)
0|www | at Module._compile (internal/modules/cjs/loader.js:1133:30)
0|www | at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)
0|www | at Module.load (internal/modules/cjs/loader.js:977:32)
0|www | at Function.Module._load (internal/modules/cjs/loader.js:877:14)
0|www | at Module.require (internal/modules/cjs/loader.js:1019:19)
0|www | at Module.Hook._require.Module.require (/home/pi/Assistant-Relay/node_modules/require-in-the-middle/index.js:80:39) {
0|www | code: 'MODULE_NOT_FOUND',
0|www | requireStack: [
0|www | '/home/pi/Assistant-Relay/helpers/server.js',
0|www | '/home/pi/Assistant-Relay/app.js',
0|www | '/home/pi/Assistant-Relay/bin/www'
0|www | ]
0|www | }
0|www | Error: Cannot find module 'bonjour'
0|www | Require stack:
0|www | - /home/pi/Assistant-Relay/helpers/server.js
0|www | - /home/pi/Assistant-Relay/app.js
0|www | - /home/pi/Assistant-Relay/bin/www
0|www | at Function.Module._resolveFilename (internal/modules/cjs/loader.js:957:15)
0|www | at Module.Hook._require.Module.require (/home/pi/Assistant-Relay/node_modules/require-in-the-middle/index.js:61:29)
0|www | at require (internal/modules/cjs/helpers.js:77:18)
0|www | at Object. (/home/pi/Assistant-Relay/helpers/server.js:5:17)
0|www | at Module._compile (internal/modules/cjs/loader.js:1133:30)
0|www | at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)
0|www | at Module.load (internal/modules/cjs/loader.js:977:32)
0|www | at Function.Module._load (internal/modules/cjs/loader.js:877:14)
0|www | at Module.require (internal/modules/cjs/loader.js:1019:19)
0|www | at Module.Hook._require.Module.require (/home/pi/Assistant-Relay/node_modules/require-in-the-middle/index.js:80:39) {
0|www | code: 'MODULE_NOT_FOUND',
0|www | requireStack: [
0|www | '/home/pi/Assistant-Relay/helpers/server.js',
0|www | '/home/pi/Assistant-Relay/app.js',
0|www | '/home/pi/Assistant-Relay/bin/www'
0|www | ]
0|www | }
0|www | Error: Cannot find module 'bonjour'
0|www | Require stack:
0|www | - /home/pi/Assistant-Relay/helpers/server.js
0|www | - /home/pi/Assistant-Relay/app.js
0|www | - /home/pi/Assistant-Relay/bin/www
0|www | at Function.Module._resolveFilename (internal/modules/cjs/loader.js:957:15)
0|www | at Module.Hook._require.Module.require (/home/pi/Assistant-Relay/node_modules/require-in-the-middle/index.js:61:29)
0|www | at require (internal/modules/cjs/helpers.js:77:18)
0|www | at Object. (/home/pi/Assistant-Relay/helpers/server.js:5:17)
0|www | at Module._compile (internal/modules/cjs/loader.js:1133:30)
0|www | at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)
0|www | at Module.load (internal/modules/cjs/loader.js:977:32)
0|www | at Function.Module._load (internal/modules/cjs/loader.js:877:14)
0|www | at Module.require (internal/modules/cjs/loader.js:1019:19)
0|www | at Module.Hook._require.Module.require (/home/pi/Assistant-Relay/node_modules/require-in-the-middle/index.js:80:39) {
0|www | code: 'MODULE_NOT_FOUND',
0|www | requireStack: [
0|www | '/home/pi/Assistant-Relay/helpers/server.js',
0|www | '/home/pi/Assistant-Relay/app.js',
0|www | '/home/pi/Assistant-Relay/bin/www'
0|www | ]
0|www | }
0|www | Error: Cannot find module 'bonjour'
0|www | Require stack:
0|www | - /home/pi/Assistant-Relay/helpers/server.js
0|www | - /home/pi/Assistant-Relay/app.js
0|www | - /home/pi/Assistant-Relay/bin/www
0|www | at Function.Module._resolveFilename (internal/modules/cjs/loader.js:957:15)
0|www | at Module.Hook._require.Module.require (/home/pi/Assistant-Relay/node_modules/require-in-the-middle/index.js:61:29)
0|www | at require (internal/modules/cjs/helpers.js:77:18)
0|www | at Object. (/home/pi/Assistant-Relay/helpers/server.js:5:17)
0|www | at Module._compile (internal/modules/cjs/loader.js:1133:30)
0|www | at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)
0|www | at Module.load (internal/modules/cjs/loader.js:977:32)
0|www | at Function.Module._load (internal/modules/cjs/loader.js:877:14)
0|www | at Module.require (internal/modules/cjs/loader.js:1019:19)
0|www | at Module.Hook._require.Module.require (/home/pi/Assistant-Relay/node_modules/require-in-the-middle/index.js:80:39) {
0|www | code: 'MODULE_NOT_FOUND',
0|www | requireStack: [
0|www | '/home/pi/Assistant-Relay/helpers/server.js',
0|www | '/home/pi/Assistant-Relay/app.js',
0|www | '/home/pi/Assistant-Relay/bin/www'
0|www | ]
0|www | }
0|www | Error: Cannot find module 'bonjour'
0|www | Require stack:
0|www | - /home/pi/Assistant-Relay/helpers/server.js
0|www | - /home/pi/Assistant-Relay/app.js
0|www | - /home/pi/Assistant-Relay/bin/www
0|www | at Function.Module._resolveFilename (internal/modules/cjs/loader.js:957:15)
0|www | at Module.Hook._require.Module.require (/home/pi/Assistant-Relay/node_modules/require-in-the-middle/index.js:61:29)
0|www | at require (internal/modules/cjs/helpers.js:77:18)
0|www | at Object. (/home/pi/Assistant-Relay/helpers/server.js:5:17)
0|www | at Module._compile (internal/modules/cjs/loader.js:1133:30)
0|www | at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)
0|www | at Module.load (internal/modules/cjs/loader.js:977:32)
0|www | at Function.Module._load (internal/modules/cjs/loader.js:877:14)
0|www | at Module.require (internal/modules/cjs/loader.js:1019:19)
0|www | at Module.Hook._require.Module.require (/home/pi/Assistant-Relay/node_modules/require-in-the-middle/index.js:80:39) {
0|www | code: 'MODULE_NOT_FOUND',
0|www | requireStack: [
0|www | '/home/pi/Assistant-Relay/helpers/server.js',
0|www | '/home/pi/Assistant-Relay/app.js',
0|www | '/home/pi/Assistant-Relay/bin/www'
0|www | ]
0|www | }
0|www | Error: Cannot find module 'bonjour'
0|www | Require stack:
0|www | - /home/pi/Assistant-Relay/helpers/server.js
0|www | - /home/pi/Assistant-Relay/app.js
0|www | - /home/pi/Assistant-Relay/bin/www
0|www | at Function.Module._resolveFilename (internal/modules/cjs/loader.js:957:15)
0|www | at Module.Hook._require.Module.require (/home/pi/Assistant-Relay/node_modules/require-in-the-middle/index.js:61:29)
0|www | at require (internal/modules/cjs/helpers.js:77:18)
0|www | at Object. (/home/pi/Assistant-Relay/helpers/server.js:5:17)
0|www | at Module._compile (internal/modules/cjs/loader.js:1133:30)
0|www | at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)
0|www | at Module.load (internal/modules/cjs/loader.js:977:32)
0|www | at Function.Module._load (internal/modules/cjs/loader.js:877:14)
0|www | at Module.require (internal/modules/cjs/loader.js:1019:19)
0|www | at Module.Hook._require.Module.require (/home/pi/Assistant-Relay/node_modules/require-in-the-middle/index.js:80:39) {
0|www | code: 'MODULE_NOT_FOUND',
0|www | requireStack: [
0|www | '/home/pi/Assistant-Relay/helpers/server.js',
0|www | '/home/pi/Assistant-Relay/app.js',
0|www | '/home/pi/Assistant-Relay/bin/www'
0|www | ]
0|www | }
0|www | Error: Cannot find module 'bonjour'
0|www | Require stack:
0|www | - /home/pi/Assistant-Relay/helpers/server.js
0|www | - /home/pi/Assistant-Relay/app.js
0|www | - /home/pi/Assistant-Relay/bin/www
0|www | at Function.Module._resolveFilename (internal/modules/cjs/loader.js:957:15)
0|www | at Module.Hook._require.Module.require (/home/pi/Assistant-Relay/node_modules/require-in-the-middle/index.js:61:29)
0|www | at require (internal/modules/cjs/helpers.js:77:18)
0|www | at Object. (/home/pi/Assistant-Relay/helpers/server.js:5:17)
0|www | at Module._compile (internal/modules/cjs/loader.js:1133:30)
0|www | at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)
0|www | at Module.load (internal/modules/cjs/loader.js:977:32)
0|www | at Function.Module._load (internal/modules/cjs/loader.js:877:14)
0|www | at Module.require (internal/modules/cjs/loader.js:1019:19)
0|www | at Module.Hook._require.Module.require (/home/pi/Assistant-Relay/node_modules/require-in-the-middle/index.js:80:39) {
0|www | code: 'MODULE_NOT_FOUND',
0|www | requireStack: [
0|www | '/home/pi/Assistant-Relay/helpers/server.js',
0|www | '/home/pi/Assistant-Relay/app.js',
0|www | '/home/pi/Assistant-Relay/bin/www'
0|www | ]
0|www | }
0|www | Error: Cannot find module 'bonjour'
0|www | Require stack:
0|www | - /home/pi/Assistant-Relay/helpers/server.js
0|www | - /home/pi/Assistant-Relay/app.js
0|www | - /home/pi/Assistant-Relay/bin/www
0|www | at Function.Module._resolveFilename (internal/modules/cjs/loader.js:957:15)
0|www | at Module.Hook._require.Module.require (/home/pi/Assistant-Relay/node_modules/require-in-the-middle/index.js:61:29)
0|www | at require (internal/modules/cjs/helpers.js:77:18)
0|www | at Object. (/home/pi/Assistant-Relay/helpers/server.js:5:17)
0|www | at Module._compile (internal/modules/cjs/loader.js:1133:30)
0|www | at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)
0|www | at Module.load (internal/modules/cjs/loader.js:977:32)
0|www | at Function.Module._load (internal/modules/cjs/loader.js:877:14)
0|www | at Module.require (internal/modules/cjs/loader.js:1019:19)
0|www | at Module.Hook._require.Module.require (/home/pi/Assistant-Relay/node_modules/require-in-the-middle/index.js:80:39) {
0|www | code: 'MODULE_NOT_FOUND',
0|www | requireStack: [
0|www | '/home/pi/Assistant-Relay/helpers/server.js',
0|www | '/home/pi/Assistant-Relay/app.js',
0|www | '/home/pi/Assistant-Relay/bin/www'
0|www | ]
0|www | }
0|www | Error: Cannot find module 'bonjour'
0|www | Require stack:
0|www | - /home/pi/Assistant-Relay/helpers/server.js
0|www | - /home/pi/Assistant-Relay/app.js
0|www | - /home/pi/Assistant-Relay/bin/www
0|www | at Function.Module._resolveFilename (internal/modules/cjs/loader.js:957:15)
0|www | at Module.Hook._require.Module.require (/home/pi/Assistant-Relay/node_modules/require-in-the-middle/index.js:61:29)
0|www | at require (internal/modules/cjs/helpers.js:77:18)
0|www | at Object. (/home/pi/Assistant-Relay/helpers/server.js:5:17)
0|www | at Module._compile (internal/modules/cjs/loader.js:1133:30)
0|www | at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)
0|www | at Module.load (internal/modules/cjs/loader.js:977:32)
0|www | at Function.Module._load (internal/modules/cjs/loader.js:877:14)
0|www | at Module.require (internal/modules/cjs/loader.js:1019:19)
0|www | at Module.Hook._require.Module.require (/home/pi/Assistant-Relay/node_modules/require-in-the-middle/index.js:80:39) {
0|www | code: 'MODULE_NOT_FOUND',
0|www | requireStack: [
0|www | '/home/pi/Assistant-Relay/helpers/server.js',
0|www | '/home/pi/Assistant-Relay/app.js',
0|www | '/home/pi/Assistant-Relay/bin/www'
0|www | ]
0|www | }
0|www | Error: Cannot find module 'bonjour'
0|www | Require stack:
0|www | - /home/pi/Assistant-Relay/helpers/server.js
0|www | - /home/pi/Assistant-Relay/app.js
0|www | - /home/pi/Assistant-Relay/bin/www
0|www | at Function.Module._resolveFilename (internal/modules/cjs/loader.js:957:15)
0|www | at Module.Hook._require.Module.require (/home/pi/Assistant-Relay/node_modules/require-in-the-middle/index.js:61:29)
0|www | at require (internal/modules/cjs/helpers.js:77:18)
0|www | at Object. (/home/pi/Assistant-Relay/helpers/server.js:5:17)
0|www | at Module._compile (internal/modules/cjs/loader.js:1133:30)
0|www | at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)
0|www | at Module.load (internal/modules/cjs/loader.js:977:32)
0|www | at Function.Module._load (internal/modules/cjs/loader.js:877:14)
0|www | at Module.require (internal/modules/cjs/loader.js:1019:19)
0|www | at Module.Hook._require.Module.require (/home/pi/Assistant-Relay/node_modules/require-in-the-middle/index.js:80:39) {
0|www | code: 'MODULE_NOT_FOUND',
0|www | requireStack: [
0|www | '/home/pi/Assistant-Relay/helpers/server.js',
0|www | '/home/pi/Assistant-Relay/app.js',
0|www | '/home/pi/Assistant-Relay/bin/www'
0|www | ]
0|www | }
0|www | Error: Cannot find module 'bonjour'
0|www | Require stack:
0|www | - /home/pi/Assistant-Relay/helpers/server.js
0|www | - /home/pi/Assistant-Relay/app.js
0|www | - /home/pi/Assistant-Relay/bin/www
0|www | at Function.Module._resolveFilename (internal/modules/cjs/loader.js:957:15)
0|www | at Module.Hook._require.Module.require (/home/pi/Assistant-Relay/node_modules/require-in-the-middle/index.js:61:29)
0|www | at require (internal/modules/cjs/helpers.js:77:18)
0|www | at Object. (/home/pi/Assistant-Relay/helpers/server.js:5:17)
0|www | at Module._compile (internal/modules/cjs/loader.js:1133:30)
0|www | at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)
0|www | at Module.load (internal/modules/cjs/loader.js:977:32)
0|www | at Function.Module._load (internal/modules/cjs/loader.js:877:14)
0|www | at Module.require (internal/modules/cjs/loader.js:1019:19)
0|www | at Module.Hook._require.Module.require (/home/pi/Assistant-Relay/node_modules/require-in-the-middle/index.js:80:39) {
0|www | code: 'MODULE_NOT_FOUND',
0|www | requireStack: [
0|www | '/home/pi/Assistant-Relay/helpers/server.js',
0|www | '/home/pi/Assistant-Relay/app.js',
0|www | '/home/pi/Assistant-Relay/bin/www'
0|www | ]
0|www | }
0|www | Error: Cannot find module 'bonjour'
0|www | Require stack:
0|www | - /home/pi/Assistant-Relay/helpers/server.js
0|www | - /home/pi/Assistant-Relay/app.js
0|www | - /home/pi/Assistant-Relay/bin/www
0|www | at Function.Module._resolveFilename (internal/modules/cjs/loader.js:957:15)
0|www | at Module.Hook._require.Module.require (/home/pi/Assistant-Relay/node_modules/require-in-the-middle/index.js:61:29)
0|www | at require (internal/modules/cjs/helpers.js:77:18)
0|www | at Object. (/home/pi/Assistant-Relay/helpers/server.js:5:17)
0|www | at Module._compile (internal/modules/cjs/loader.js:1133:30)
0|www | at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)
0|www | at Module.load (internal/modules/cjs/loader.js:977:32)
0|www | at Function.Module._load (internal/modules/cjs/loader.js:877:14)
0|www | at Module.require (internal/modules/cjs/loader.js:1019:19)
0|www | at Module.Hook._require.Module.require (/home/pi/Assistant-Relay/node_modules/require-in-the-middle/index.js:80:39) {
0|www | code: 'MODULE_NOT_FOUND',
0|www | requireStack: [
0|www | '/home/pi/Assistant-Relay/helpers/server.js',
0|www | '/home/pi/Assistant-Relay/app.js',
0|www | '/home/pi/Assistant-Relay/bin/www'
0|www | ]
0|www | }
0|www | Error: Cannot find module 'bonjour'
0|www | Require stack:
0|www | - /home/pi/Assistant-Relay/helpers/server.js
0|www | - /home/pi/Assistant-Relay/app.js
0|www | - /home/pi/Assistant-Relay/bin/www
0|www | at Function.Module._resolveFilename (internal/modules/cjs/loader.js:957:15)
0|www | at Module.Hook._require.Module.require (/home/pi/Assistant-Relay/node_modules/require-in-the-middle/index.js:61:29)
0|www | at require (internal/modules/cjs/helpers.js:77:18)
0|www | at Object. (/home/pi/Assistant-Relay/helpers/server.js:5:17)
0|www | at Module._compile (internal/modules/cjs/loader.js:1133:30)
0|www | at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)
0|www | at Module.load (internal/modules/cjs/loader.js:977:32)
0|www | at Function.Module._load (internal/modules/cjs/loader.js:877:14)
0|www | at Module.require (internal/modules/cjs/loader.js:1019:19)
0|www | at Module.Hook._require.Module.require (/home/pi/Assistant-Relay/node_modules/require-in-the-middle/index.js:80:39) {
0|www | code: 'MODULE_NOT_FOUND',
0|www | requireStack: [
0|www | '/home/pi/Assistant-Relay/helpers/server.js',
0|www | '/home/pi/Assistant-Relay/app.js',
0|www | '/home/pi/Assistant-Relay/bin/www'
0|www | ]
0|www | }
0|www | Error: Cannot find module 'bonjour'
0|www | Require stack:
0|www | - /home/pi/Assistant-Relay/helpers/server.js
0|www | - /home/pi/Assistant-Relay/app.js
0|www | - /home/pi/Assistant-Relay/bin/www
0|www | at Function.Module._resolveFilename (internal/modules/cjs/loader.js:957:15)
0|www | at Module.Hook._require.Module.require (/home/pi/Assistant-Relay/node_modules/require-in-the-middle/index.js:61:29)
0|www | at require (internal/modules/cjs/helpers.js:77:18)
0|www | at Object. (/home/pi/Assistant-Relay/helpers/server.js:5:17)
0|www | at Module._compile (internal/modules/cjs/loader.js:1133:30)
0|www | at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)
0|www | at Module.load (internal/modules/cjs/loader.js:977:32)
0|www | at Function.Module._load (internal/modules/cjs/loader.js:877:14)
0|www | at Module.require (internal/modules/cjs/loader.js:1019:19)
0|www | at Module.Hook._require.Module.require (/home/pi/Assistant-Relay/node_modules/require-in-the-middle/index.js:80:39) {
0|www | code: 'MODULE_NOT_FOUND',
0|www | requireStack: [
0|www | '/home/pi/Assistant-Relay/helpers/server.js',
0|www | '/home/pi/Assistant-Relay/app.js',
0|www | '/home/pi/Assistant-Relay/bin/www'
0|www | ]
0|www | }
0|www | Error: Cannot find module 'bonjour'
0|www | Require stack:
0|www | - /home/pi/Assistant-Relay/helpers/server.js
0|www | - /home/pi/Assistant-Relay/app.js
0|www | - /home/pi/Assistant-Relay/bin/www
0|www | at Function.Module._resolveFilename (internal/modules/cjs/loader.js:957:15)
0|www | at Module.Hook._require.Module.require (/home/pi/Assistant-Relay/node_modules/require-in-the-middle/index.js:61:29)
0|www | at require (internal/modules/cjs/helpers.js:77:18)
0|www | at Object. (/home/pi/Assistant-Relay/helpers/server.js:5:17)
0|www | at Module._compile (internal/modules/cjs/loader.js:1133:30)
0|www | at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)
0|www | at Module.load (internal/modules/cjs/loader.js:977:32)
0|www | at Function.Module._load (internal/modules/cjs/loader.js:877:14)
0|www | at Module.require (internal/modules/cjs/loader.js:1019:19)
0|www | at Module.Hook._require.Module.require (/home/pi/Assistant-Relay/node_modules/require-in-the-middle/index.js:80:39) {
0|www | code: 'MODULE_NOT_FOUND',
0|www | requireStack: [
0|www | '/home/pi/Assistant-Relay/helpers/server.js',
0|www | '/home/pi/Assistant-Relay/app.js',
0|www | '/home/pi/Assistant-Relay/bin/www'
0|www | ]
0|www | }

I don't know anything about GAR, but this seems to be the error in the logs you posted.
Maybe npm install bonjour will help?

Thanks for the help. It got me further along on my journey to get GAR implemented on my Raspberry Pi. I would have continued "sinking in the mire" without your help.

1 Like

Messaging when i run 'npm run start':

pi@raspberrypi:~/Downloads/gar3.3.2beta $ npm run start

assistant-relay@3.3.2 start /home/pi/Downloads/gar3.3.2beta
pm2 start ./bin/www && pm2 log www

In-memory PM2 is out-of-date, do:
$ pm2 update
In memory PM2 version: 4.4.0
Local PM2 version: 4.2.3

[PM2] Starting /home/pi/Downloads/gar3.3.2beta/bin/www in fork_mode (1 instance)
(node:13130) Warning: Accessing non-existent property 'cat' of module exports inside circular dependency
(Use node --trace-warnings ... to show where the warning was created)
(node:13130) Warning: Accessing non-existent property 'cd' of module exports inside circular dependency
(node:13130) Warning: Accessing non-existent property 'chmod' of module exports inside circular dependency
(node:13130) Warning: Accessing non-existent property 'cp' of module exports inside circular dependency
(node:13130) Warning: Accessing non-existent property 'dirs' of module exports inside circular dependency
(node:13130) Warning: Accessing non-existent property 'pushd' of module exports inside circular dependency
(node:13130) Warning: Accessing non-existent property 'popd' of module exports inside circular dependency
(node:13130) Warning: Accessing non-existent property 'echo' of module exports inside circular dependency
(node:13130) Warning: Accessing non-existent property 'tempdir' of module exports inside circular dependency
(node:13130) Warning: Accessing non-existent property 'pwd' of module exports inside circular dependency
(node:13130) Warning: Accessing non-existent property 'exec' of module exports inside circular dependency
(node:13130) Warning: Accessing non-existent property 'ls' of module exports inside circular dependency
(node:13130) Warning: Accessing non-existent property 'find' of module exports inside circular dependency
(node:13130) Warning: Accessing non-existent property 'grep' of module exports inside circular dependency
(node:13130) Warning: Accessing non-existent property 'head' of module exports inside circular dependency
(node:13130) Warning: Accessing non-existent property 'ln' of module exports inside circular dependency
(node:13130) Warning: Accessing non-existent property 'mkdir' of module exports inside circular dependency
(node:13130) Warning: Accessing non-existent property 'rm' of module exports inside circular dependency
(node:13130) Warning: Accessing non-existent property 'mv' of module exports inside circular dependency
(node:13130) Warning: Accessing non-existent property 'sed' of module exports inside circular dependency
(node:13130) Warning: Accessing non-existent property 'set' of module exports inside circular dependency
(node:13130) Warning: Accessing non-existent property 'sort' of module exports inside circular dependency
(node:13130) Warning: Accessing non-existent property 'tail' of module exports inside circular dependency
(node:13130) Warning: Accessing non-existent property 'test' of module exports inside circular dependency
(node:13130) Warning: Accessing non-existent property 'to' of module exports inside circular dependency
(node:13130) Warning: Accessing non-existent property 'toEnd' of module exports inside circular dependency
(node:13130) Warning: Accessing non-existent property 'touch' of module exports inside circular dependency
(node:13130) Warning: Accessing non-existent property 'uniq' of module exports inside circular dependency
(node:13130) Warning: Accessing non-existent property 'which' of module exports inside circular dependency
[PM2] Done.
┌─────┬────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
│ id │ name │ namespace │ version │ mode │ pid │ uptime │ ↺ │ status │ cpu │ mem │ user │ watching │
├─────┼────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
│ 0 │ www │ default │ N/A │ fork │ N/A │ 0 │ 0 │ errored │ 0% │ 0b │ pi │ disabled │
│ 1 │ www │ default │ N/A │ fork │ N/A │ 0 │ 0 │ errored │ 0% │ 0b │ pi │ disabled │
│ 2 │ www │ default │ 3.3.2 │ fork │ 13137 │ 0s │ 0 │ online │ 0% │ 24.2mb │ pi │ disabled │
└─────┴────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘
[PM2][WARN] Current process list running is not in sync with saved list. Type 'pm2 save' to synchronize or enable autosync via 'pm2 set pm2:autodump true'

In-memory PM2 is out-of-date, do:
$ pm2 update
In memory PM2 version: 4.4.0
Local PM2 version: 4.2.3

[TAILING] Tailing last 15 lines for [www] process (change the value with --lines option)
/home/pi/.pm2/logs/www-out.log last 15 lines:
/home/pi/.pm2/logs/www-error.log last 15 lines:
0|www | Error: Cannot find module '/home/pi/Downloads/GAR3.3.2/node_modules/pm2/lib/ProcessContainerFork.js'
0|www | at Function.Module._resolveFilename (internal/modules/cjs/loader.js:1020:15)
0|www | at Function.Module._load (internal/modules/cjs/loader.js:890:27)
0|www | at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
0|www | at internal/main/run_main_module.js:17:47 {
0|www | code: 'MODULE_NOT_FOUND',
0|www | requireStack: []
0|www | }
0|www | Error: getaddrinfo EAI_AGAIN github.com
0|www | at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:66:26) {
0|www | errno: -3001,
0|www | code: 'EAI_AGAIN',
0|www | syscall: 'getaddrinfo',
0|www | hostname: 'github.com'
0|www | }

2|www | (node:13137) Warning: Accessing non-existent property 'cat' of module exports inside circular dependency
2|www | (Use node --trace-warnings ... to show where the warning was created)
2|www | (node:13137) Warning: Accessing non-existent property 'cd' of module exports inside circular dependency
2|www | (node:13137) Warning: Accessing non-existent property 'chmod' of module exports inside circular dependency
2|www | (node:13137) Warning: Accessing non-existent property 'cp' of module exports inside circular dependency
2|www | (node:13137) Warning: Accessing non-existent property 'dirs' of module exports inside circular dependency
2|www | (node:13137) Warning: Accessing non-existent property 'pushd' of module exports inside circular dependency
2|www | (node:13137) Warning: Accessing non-existent property 'popd' of module exports inside circular dependency
2|www | (node:13137) Warning: Accessing non-existent property 'echo' of module exports inside circular dependency
2|www | (node:13137) Warning: Accessing non-existent property 'tempdir' of module exports inside circular dependency
2|www | (node:13137) Warning: Accessing non-existent property 'pwd' of module exports inside circular dependency
2|www | (node:13137) Warning: Accessing non-existent property 'exec' of module exports inside circular dependency
2|www | (node:13137) Warning: Accessing non-existent property 'ls' of module exports inside circular dependency
2|www | (node:13137) Warning: Accessing non-existent property 'find' of module exports inside circular dependency
2|www | (node:13137) Warning: Accessing non-existent property 'grep' of module exports inside circular dependency
2|www | (node:13137) Warning: Accessing non-existent property 'head' of module exports inside circular dependency
2|www | (node:13137) Warning: Accessing non-existent property 'ln' of module exports inside circular dependency
2|www | (node:13137) Warning: Accessing non-existent property 'mkdir' of module exports inside circular dependency
2|www | (node:13137) Warning: Accessing non-existent property 'rm' of module exports inside circular dependency
2|www | (node:13137) Warning: Accessing non-existent property 'mv' of module exports inside circular dependency
2|www | (node:13137) Warning: Accessing non-existent property 'sed' of module exports inside circular dependency
2|www | (node:13137) Warning: Accessing non-existent property 'set' of module exports inside circular dependency
2|www | (node:13137) Warning: Accessing non-existent property 'sort' of module exports inside circular dependency
2|www | (node:13137) Warning: Accessing non-existent property 'tail' of module exports inside circular dependency
2|www | (node:13137) Warning: Accessing non-existent property 'test' of module exports inside circular dependency
2|www | (node:13137) Warning: Accessing non-existent property 'to' of module exports inside circular dependency
2|www | (node:13137) Warning: Accessing non-existent property 'toEnd' of module exports inside circular dependency
2|www | (node:13137) Warning: Accessing non-existent property 'touch' of module exports inside circular dependency
2|www | (node:13137) Warning: Accessing non-existent property 'uniq' of module exports inside circular dependency

image

is this healthy? Running version 3.3.2 on Raspberry Pi - seems to run fine just looking for sanity check

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.