greghesp/assistant-relay

errors installing assistant relay

DaveR2419 opened this issue · 1 comments

Not sure what is happening, below is errors I receive when trying to install assistant relay. I have installed nodejs to 10.13.0. Please advice.
pi@raspberrypi:~/asst relay/release $ npm run setup

assistant-relay@3.2.0 setup /home/pi/asst relay/release
npm i -g pm2 && npm i

/home/pi/.config/nvm/versions/node/v10.13.0/bin/pm2 -> /home/pi/.config/nvm/versions/node/v10.13.0/lib/node_modules/pm2/bin/pm2
/home/pi/.config/nvm/versions/node/v10.13.0/bin/pm2-dev -> /home/pi/.config/nvm/versions/node/v10.13.0/lib/node_modules/pm2/bin/pm2-dev
/home/pi/.config/nvm/versions/node/v10.13.0/bin/pm2-docker -> /home/pi/.config/nvm/versions/node/v10.13.0/lib/node_modules/pm2/bin/pm2-docker
/home/pi/.config/nvm/versions/node/v10.13.0/bin/pm2-runtime -> /home/pi/.config/nvm/versions/node/v10.13.0/lib/node_modules/pm2/bin/pm2-runtime
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/pm2/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm WARN ws@7.2.5 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN ws@7.2.5 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.

  • pm2@4.5.0
    updated 1 package in 10.202s
    Aborted
    npm ERR! code ELIFECYCLE
    npm ERR! errno 134
    npm ERR! assistant-relay@3.2.0 setup: npm i -g pm2 && npm i
    npm ERR! Exit status 134
    npm ERR!
    npm ERR! Failed at the assistant-relay@3.2.0 setup script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
    npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2020-10-24T12_19_42_053Z-debug.log
Aborted
pi@raspberrypi:~/asst relay/release $

pi@raspberrypi:~/asst relay/release $ npm run start

assistant-relay@3.2.0 start /home/pi/asst relay/release
pm2 start ./bin/www && pm2 log www

[PM2] Spawning PM2 daemon with pm2_home=/home/pi/.pm2
[PM2] PM2 Successfully daemonized
[PM2] Starting /home/pi/asst relay/release/bin/www in fork_mode (1 instance)
[PM2] Done.
┌─────┬────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
│ id │ name │ namespace │ version │ mode │ pid │ uptime │ ↺ │ status │ cpu │ mem │ user │ watching │
├─────┼────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
│ 0 │ www │ default │ 3.2.0 │ fork │ 4373 │ 0s │ 0 │ online │ 0% │ 18.6mb │ pi │ disabled │
└─────┴────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘
Aborted
npm ERR! code ELIFECYCLE
npm ERR! errno 134
npm ERR! assistant-relay@3.2.0 start: pm2 start ./bin/www && pm2 log www
npm ERR! Exit status 134
npm ERR!
npm ERR! Failed at the assistant-relay@3.2.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2020-10-24T12_36_43_959Z-debug.log
Aborted