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
TypeError: Cannot redefine property: bundlingDockerImage
at Function.defineProperty (<anonymous>)
at Config.util.makeImmutable (/Users/davydewaele/Projects/Aws/cdk-simple-config/node_modules/config/lib/config.js:426:14)
at Config.util.makeImmutable (/Users/davydewaele/Projects/Aws/cdk-simple-config/node_modules/config/lib/config.js:416:32)
at Config.util.makeImmutable (/Users/davydewaele/Projects/Aws/cdk-simple-config/node_modules/config/lib/config.js:416:32)
at Config.util.makeImmutable (/Users/davydewaele/Projects/Aws/cdk-simple-config/node_modules/config/lib/config.js:416:32)
at Config.get (/Users/davydewaele/Projects/Aws/cdk-simple-config/node_modules/config/lib/config.js:170:12)
when trying to load my config
const envConfig: EnvConfig = config.get('envConfig') as EnvConfig;
This discussion was converted from issue #742 on October 31, 2023 18:21.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
given the following config object :
as defined via the following type
I am getting the following error
when trying to load my config
The code containing the
bundlingDockerImage
property is thisaws-cdk
dependency : https://github.com/aws/aws-cdk/blob/main/packages/aws-cdk-lib/aws-lambda/lib/runtime.tsIs this as designed ? Is the config above not supported by node-config and can I do something about this to make it work ?
Thx.
Beta Was this translation helpful? Give feedback.
All reactions