psmith3 / polyglot-v2

Polyglot Version 2 for with the ISY 994i 5.0+ running in Docker on Synology NAS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Polyglot startup error after running install.sh script

sup-one opened this issue · comments

Hi,

I've followed your readme on my Synology DS920+ with DSM 7.2.1-69057 Update 3.

During script the only error I got was:

Creating SSL certs & stopping containers...
unknown shorthand flag: 'd' in -d

but the script finished successfully.

mongodb container started without a problem
polyglot-v2 container attempted to start and stopped immediately with the following error:

2024/01/20 13:35:03 stdout �[0m
2024/01/20 13:35:03 stdout �[0m�[37;40mnpm�[0m �[0m�[31;40mERR!�[0m�[35m�[0m /root/.npm/_logs/2024-01-20T18_35_02_503Z-debug.log
2024/01/20 13:35:03 stdout �[37;40mnpm�[0m �[0m�[31;40mERR!�[0m�[35m�[0m A complete log of this run can be found in:
2024/01/20 13:35:03 stdout �[0m
2024/01/20 13:35:03 stdout �[0m�[37;40mnpm�[0m �[0m�[30;43mWARN�[0m�[35m�[0m Local package.json exists, but node_modules missing, did you mean to install?
2024/01/20 13:35:02 stdout �[0m�[37;40mnpm�[0m �[0m�[31;40mERR!�[0m�[35m�[0m This is probably not a problem with npm. There is likely additional logging output above.
2024/01/20 13:35:02 stdout �[0m�[37;40mnpm�[0m �[0m�[31;40mERR!�[0m�[35m�[0m Failed at the polyglot-v2@2.2.11 start script.
2024/01/20 13:35:02 stdout �[0m�[37;40mnpm�[0m �[0m�[31;40mERR!�[0m�[35m�[0m
2024/01/20 13:35:02 stdout �[0m�[37;40mnpm�[0m �[0m�[31;40mERR!�[0m�[35m�[0m Exit status 1
2024/01/20 13:35:02 stdout �[0m�[37;40mnpm�[0m �[0m�[31;40mERR!�[0m�[35m�[0m polyglot-v2@2.2.11 start: node bin/polyglot-v2
2024/01/20 13:35:02 stdout �[0m�[37;40mnpm�[0m �[0m�[31;40mERR!�[0m �[0m�[35merrno�[0m 1
2024/01/20 13:35:02 stdout �[37;40mnpm�[0m �[0m�[31;40mERR!�[0m �[0m�[35mcode�[0m ELIFECYCLE
2024/01/20 13:35:02 stdout }
2024/01/20 13:35:02 stdout requireStack: [ �[32m'/opt/polyglot-v2/bin/polyglot-v2.js'�[39m ]
2024/01/20 13:35:02 stdout code: �[32m'MODULE_NOT_FOUND'�[39m,
2024/01/20 13:35:02 stdout �[90m at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)�[39m {
2024/01/20 13:35:02 stdout �[90m at Function.Module._load (internal/modules/cjs/loader.js:708:14)�[39m
2024/01/20 13:35:02 stdout �[90m at Module.load (internal/modules/cjs/loader.js:863:32)�[39m
2024/01/20 13:35:02 stdout �[90m at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)�[39m
2024/01/20 13:35:02 stdout �[90m at Module._compile (internal/modules/cjs/loader.js:999:30)�[39m
2024/01/20 13:35:02 stdout at Object. (/opt/polyglot-v2/bin/polyglot-v2.js:11:14)
2024/01/20 13:35:02 stdout �[90m at require (internal/modules/cjs/helpers.js:74:18)�[39m
2024/01/20 13:35:02 stdout �[90m at Module.require (internal/modules/cjs/loader.js:887:19)�[39m
2024/01/20 13:35:02 stdout �[90m at Function.Module._load (internal/modules/cjs/loader.js:667:27)�[39m
2024/01/20 13:35:02 stdout �[90m at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)�[39m
2024/01/20 13:35:02 stdout - /opt/polyglot-v2/bin/polyglot-v2.js
2024/01/20 13:35:02 stdout Require stack:
2024/01/20 13:35:02 stdout Error: Cannot find module 'minimist'
2024/01/20 13:35:02 stdout
2024/01/20 13:35:02 stdout ^
2024/01/20 13:35:02 stdout throw err;
2024/01/20 13:35:02 stdout internal/modules/cjs/loader.js:818
2024/01/20 13:35:02 stdout
2024/01/20 13:35:02 stdout > node bin/polyglot-v2
2024/01/20 13:35:02 stdout > polyglot-v2@2.2.11 start /opt/polyglot-v2
2024/01/20 13:35:02 stdout