Since dependabot updated change-case to newest version, we get the following error in the pipeline:
$ npx cdk synth
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in /home/runner/work/node_modules/change-case/package.json
at new NodeError (node:internal/errors:405:5)
at exportsNotFound (node:internal/modules/esm/resolve:362:10)
at packageExportsResolve (node:internal/modules/esm/resolve:642:13)
at resolveExports (node:internal/modules/cjs/loader:567:36)
at Function.Module._findPath (node:internal/modules/cjs/loader:636:31)
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1063:27)
at Function.Module._resolveFilename.sharedData.moduleResolveFilenameHook.installedValue [as _resolveFilename] (/home/runner/work/shoen_eks_platform/shoen_eks_platform/node_modules/@cspotcode/source-map-support/source-map-support.js:811:30)
at Function.Module._load (node:internal/modules/cjs/loader:922:27)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:119:18) {
code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
}
Subprocess exited with error 1
Since dependabot updated change-case to newest version, we get the following error in the pipeline:
$ npx cdk synth Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in /home/runner/work/node_modules/change-case/package.json at new NodeError (node:internal/errors:405:5) at exportsNotFound (node:internal/modules/esm/resolve:362:10) at packageExportsResolve (node:internal/modules/esm/resolve:642:13) at resolveExports (node:internal/modules/cjs/loader:567:36) at Function.Module._findPath (node:internal/modules/cjs/loader:636:31) at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1063:27) at Function.Module._resolveFilename.sharedData.moduleResolveFilenameHook.installedValue [as _resolveFilename] (/home/runner/work/shoen_eks_platform/shoen_eks_platform/node_modules/@cspotcode/source-map-support/source-map-support.js:811:30) at Function.Module._load (node:internal/modules/cjs/loader:922:27) at Module.require (node:internal/modules/cjs/loader:1143:19) at require (node:internal/modules/cjs/helpers:119:18) { code: 'ERR_PACKAGE_PATH_NOT_EXPORTED' } Subprocess exited with error 1