Checklist:
Build/Run method
zwavejs2mqtt version:
zwave-js version:
zwavejs2mqtt not starting in portainer
Steps to reproduce the behavior:
A clear and concise description of what you expected to happen.
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 }
Needed to update Command in Portainer to be:
'node' 'server/bin/www'
Most helpful comment
Needed to update Command in Portainer to be:
'node' 'server/bin/www'