Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(aws-cdk-lib): ( Error 'fact-tables not found' on v2.159 but not in v2.158) #31502

Closed
1 task
starbuggx opened this issue Sep 19, 2024 · 3 comments
Closed
1 task
Labels
aws-cdk-lib Related to the aws-cdk-lib package bug This issue is a bug. duplicate This issue is a duplicate.

Comments

@starbuggx
Copy link

Describe the bug

Error: Resolution error: Resolution error: Resolution error: Cannot find module '../../region-info/build-tools/fact-tables'
Object creation stack:
at Execute again with CDK_DEBUG=true to capture stack traces..
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1225:15)
at Function.Module._resolveFilename.sharedData.moduleResolveFilenameHook.installedValue [as _resolveFilename] (/home/ubuntu/repos//source/cdk/node_modules/@cspotcode/source-map-support/source-map-support.js:811:30)
at Function.Module._load (node:internal/modules/cjs/loader:1051:27)
at Module.require (node:internal/modules/cjs/loader:1311:19)
at require (node:internal/modules/helpers:179:18)
at fact_tables_1 (/home/ubuntu/repos/
/source/cdk/node_modules/aws-cdk-lib/aws-ec2/lib/vpc-endpoint.js:1:1203)
at InterfaceVpcEndpointAwsService.getDefaultEndpointPrefix (/home/ubuntu/repos//source/cdk/node_modules/aws-cdk-lib/aws-ec2/lib/vpc-endpoint.js:1:7106)
at Object.produce (/home/ubuntu/repos/
/source/cdk/node_modules/aws-cdk-lib/aws-ec2/lib/vpc-endpoint.js:1:5061)
at LazyString.resolve (/home/ubuntu/repos//source/cdk/node_modules/aws-cdk-lib/core/lib/lazy.js:1:4176)
at RememberingTokenResolver.resolveToken (/home/ubuntu/repos/
/source/cdk/node_modules/aws-cdk-lib/core/lib/resolvable.js:1:1401) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/home/ubuntu/repos//source/cdk/node_modules/aws-cdk-lib/aws-ec2/lib/vpc-endpoint.js',
'/home/ubuntu/repos/
/source/cdk/node_modules/aws-cdk-lib/aws-ec2/lib/index.js',
'/home/ubuntu/repos/**/source/cdk/node_modules/aws-cdk-lib/aws-ec2/index.js',

Regression Issue

  • Select this option if this issue appears to be a regression.

Last Known Working CDK Version

2.158.0

Expected Behavior

continue to deploy without error

Current Behavior

Error: Resolution error: Resolution error: Resolution error: Cannot find module '../../region-info/build-tools/fact-tables'

Reproduction Steps

Change the cdk version to 2.159.0, this error happens every time.
Switching back to v2.158.0, it's working.

Possible Solution

No response

Additional Information/Context

No response

CDK CLI Version

2.159.0 (build d77a1b2)

Framework Version

No response

Node.js Version

v20.17.0

OS

22.04.4 LTS (Jammy Jellyfish)

Language

TypeScript

Language Version

29.5.12

Other information

No response

@starbuggx starbuggx added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Sep 19, 2024
@github-actions github-actions bot added the aws-cdk-lib Related to the aws-cdk-lib package label Sep 19, 2024
@pahud
Copy link
Contributor

pahud commented Sep 19, 2024

please check this #31492

before we release a patch release, please pin the versoin to v2.158.0

@pahud pahud added duplicate This issue is a duplicate. and removed needs-triage This issue or PR still needs to be triaged. labels Sep 19, 2024
@pahud
Copy link
Contributor

pahud commented Sep 19, 2024

closing of duplicate

@pahud pahud closed this as completed Sep 19, 2024
Copy link

Comments on closed issues and PRs are hard for our team to see.
If you need help, please open a new issue that references this one.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
aws-cdk-lib Related to the aws-cdk-lib package bug This issue is a bug. duplicate This issue is a duplicate.
Projects
None yet
Development

No branches or pull requests

2 participants