Zwavejs2mqtt: 5.0.2 not loading

Created on 14 Jun 2021  路  1Comment  路  Source: zwave-js/zwavejs2mqtt

Version

Checklist:

  • [ ] I am not using HomeAssistant. Or: a developer has told me to come here.
  • [ ] I have checked the troubleshooting section and my problem is not described there.
  • [ ] I have read the changelog problem was not mentioned there.

Build/Run method

  • [ ] Docker
  • [ ] PKG
  • [ ] Snap package
  • [ ] Manually built (git clone - yarn install - yarn run build )

zwavejs2mqtt version:
zwave-js version:

Describe the bug

zwavejs2mqtt not starting in portainer

To Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

A clear and concise description of what you expected to happen.

Additional context

2021-06-14T17:22:00.554615000Z Error: Cannot find module '/usr/src/app/bin/www'


2021-06-14T17:22:00.554636000Z     at Function.Module._resolveFilename (node:internal/modules/cjs/loader:924:15)


2021-06-14T17:22:00.554665000Z     at Function.Module._load (node:internal/modules/cjs/loader:769:27)


2021-06-14T17:22:00.554687000Z     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:76:12)


2021-06-14T17:22:00.554707000Z     at node:internal/main/run_main_module:17:47 {


2021-06-14T17:22:00.554742000Z   code: 'MODULE_NOT_FOUND',


2021-06-14T17:22:00.554762000Z   requireStack: []


2021-06-14T17:22:00.554899000Z }


2021-06-14T17:22:13.583215000Z node:internal/modules/cjs/loader:927


2021-06-14T17:22:13.583491000Z   throw err;


2021-06-14T17:22:13.584639000Z   ^


2021-06-14T17:22:13.585969000Z Error: Cannot find module '/usr/src/app/bin/www'


2021-06-14T17:22:13.586043000Z     at Function.Module._resolveFilename (node:internal/modules/cjs/loader:924:15)


2021-06-14T17:22:13.586087000Z     at Function.Module._load (node:internal/modules/cjs/loader:769:27)


2021-06-14T17:22:13.586122000Z     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:76:12)


2021-06-14T17:22:13.586154000Z     at node:internal/main/run_main_module:17:47 {


2021-06-14T17:22:13.586187000Z   code: 'MODULE_NOT_FOUND',


2021-06-14T17:22:13.586219000Z   requireStack: []


2021-06-14T17:22:13.586253000Z }
bug

Most helpful comment

Needed to update Command in Portainer to be:
'node' 'server/bin/www'

>All comments

Needed to update Command in Portainer to be:
'node' 'server/bin/www'

Was this page helpful?
0 / 5 - 0 ratings