When upgrading the docker image from 5.14.3 to 5.15, Prism throws an error at startup in proxy mode.
Context
I cannot run prism
Current Behavior
TypeError: Cannot read properties of undefined (reading 'isPrimary')
at createMultiProcessPrism (/usr/src/prism/packages/cli/dist/util/createServer.js:29:32)
at runPrismAndSetupWatcher (/usr/src/prism/packages/cli/dist/util/runner.js:8:12)
at Object.handler (/usr/src/prism/packages/cli/dist/commands/proxy.js:43:52)
at Object.runCommand (/usr/src/prism/packages/cli/node_modules/yargs/build/index.cjs:446:48)
at Object.parseArgs [as _parseArgs] (/usr/src/prism/packages/cli/node_modules/yargs/build/index.cjs:2697:57)
at Object.get [as argv] (/usr/src/prism/packages/cli/node_modules/yargs/build/index.cjs:2651:25)
at Object.<anonymous> (/usr/src/prism/packages/cli/dist/index.js:15:26)
at Module._compile (node:internal/modules/cjs/loader:1812:14)
at Object..js (node:internal/modules/cjs/loader:1943:10)
at Module.load (node:internal/modules/cjs/loader:1533:32)
Expected Behavior
Upgrading a minor version should not break
Possible Workaround/Solution
Steps to Reproduce
- docker run stoplight/prism:5.15 /app/openapi.yaml http://upstream/
with whatever is needed as mounted volume
Environment
Docker images
When upgrading the docker image from 5.14.3 to 5.15, Prism throws an error at startup in proxy mode.
Context
I cannot run prism
Current Behavior
Expected Behavior
Upgrading a minor version should not break
Possible Workaround/Solution
Steps to Reproduce
with whatever is needed as mounted volume
Environment
Docker images