You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ node /healthcheck.js
node:internal/modules/cjs/loader:936
throw err;
^
Error: Cannot find module '@flowforge/nr-auth'
Require stack:
- /data/settings.js
- /healthcheck.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.req
- /healthcheck.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/data/suire (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/data/settings.js:5:16)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/data/settings.js', '/healthcheck.js' ]
}
so containers are flagged "unhealthy"
Expected Behavior
script in success (or disable healhcheck)
this is caused by removing FF nodes in commit ba74519
I have worked arounded (not sustainable) by changing all "@flowforge/..." by absolute path in /data/settings.js
unfortunately I can't create a PR to fix it properly (perhaps multiples solutions to fix this issue)
workaround example:
require('@flowforge/nr-auth') into require('/usr/src/flowforge-nr-launcher/node_modules/@flowforge/nr-auth')
dependencies in /data/settings.js:
nr-auth
nr-storage
nr-audit-logger
Steps To Reproduce
with a FF-NR image >= 1.0 build
start a project
container is unhealthy
Environment
FlowForge version: 1.1
Node.js version: v16.16.0
npm version: 8.11.0
Platform/OS: armv7
Browser: not revelant
FF/docker-compose >= 1.0
The text was updated successfully, but these errors were encountered:
Current Behavior
return code not equal 0 in
so containers are flagged "unhealthy"
Expected Behavior
script in success (or disable healhcheck)
this is caused by removing FF nodes in commit ba74519
I have worked arounded (not sustainable) by changing all "@flowforge/..." by absolute path in /data/settings.js
unfortunately I can't create a PR to fix it properly (perhaps multiples solutions to fix this issue)
workaround example:
require('@flowforge/nr-auth') into require('/usr/src/flowforge-nr-launcher/node_modules/@flowforge/nr-auth')
dependencies in /data/settings.js:
Steps To Reproduce
with a FF-NR image >= 1.0 build
Environment
The text was updated successfully, but these errors were encountered: