aws / aws-cdk

The AWS Cloud Development Kit is a framework for defining cloud infrastructure in code
https://aws.amazon.com/cdk
Apache License 2.0
11.5k stars 3.84k forks source link

(Contributing.md): (cdk synth error after performing link-all.sh) #25265

Closed Nico-DB closed 1 year ago

Nico-DB commented 1 year ago

Describe the bug

i am currently trying to implement a feature request for the aws-cdk-library(https://github.com/aws/aws-cdk/issues/24072 ). I have extended the code and with the integ tests i could test a couple of things. Now i need to test this is combination with a local project of mine. Due to the contributing guide i should like the packages into my project via link-all.sh. When doing so the cdk synth failes with the following error: Types of property 'node' are incompatible. Property 'getContext' is missing in type 'import("/Users/nicoschmidt/git/aws-cdk/node_modules/constructs/lib/construct").Node' but required in type 'import("/Users/nicoschmidt/git/buttonportal/node_modules/constructs/lib/construct").Node'.

8 const pipeline = new PipelineStack(app, ct.PipelineStackName, ct.propsProd);


  node_modules/constructs/lib/construct.d.ts:131:5
    131     getContext(key: string): any;
'getContext' is declared here.

at createTSError (/Users/nicoschmidt/git/buttonportal/node_modules/ts-node/src/index.ts:859:12)
at reportTSError (/Users/nicoschmidt/git/buttonportal/node_modules/ts-node/src/index.ts:863:19)
at getOutput (/Users/nicoschmidt/git/buttonportal/node_modules/ts-node/src/index.ts:1077:36)
at Object.compile (/Users/nicoschmidt/git/buttonportal/node_modules/ts-node/src/index.ts:1433:41)
at Module.m._compile (/Users/nicoschmidt/git/buttonportal/node_modules/ts-node/src/index.ts:1617:30)
at Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Object.require.extensions.<computed> [as .ts] (/Users/nicoschmidt/git/buttonportal/node_modules/ts-node/src/index.ts:1621:12)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) {

diagnosticCodes: [ 2345 ] }

Subprocess exited with error 1

Expected Behavior

cdk synth to be performed successfully.

Current Behavior

synth errors

Reproduction Steps

Code: `

!/usr/bin/env node

import { App } from 'aws-cdk-lib'; import { PipelineStack } from '../lib/pipeline'; import * as ct from './constants'; const app = new App(); const pipeline = new PipelineStack(app, ct.PipelineStackName, ct.propsProd); `

package.json: { "name": "button_portal", "version": "0.1.0", "bin": { "button_portal": "bin/button_portal.js" }, "scripts": { "build": "tsc", "watch": "tsc -w", "test": "jest", "cdk": "cdk", "lint": "eslint . --ext .ts", "tidy": "prettier --config .prettierrc '**/bin/*.ts, **/lib/*.ts' --write", "pretty-quick": "pretty-quick", "prepare": "husky install" }, "devDependencies": { "@commitlint/cli": "^17.4.4", "@commitlint/config-conventional": "^17.4.4", "@types/aws-lambda": "^8.10.109", "@types/jest": "^29.2.4", "@types/node": "18.11.15", "@types/prettier": "2.7.1", "@typescript-eslint/eslint-plugin": "^5.46.1", "@typescript-eslint/parser": "^5.46.1", "aws-cdk": "2.54.0", "esbuild": "^0.16.6", "eslint": "^8.29.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-prettier": "^4.2.1", "eslint-plugin-unused-imports": "^2.0.0", "husky": "^8.0.0", "jest": "^29.3.1", "prettier": "^2.8.4", "pretty-quick": "^3.1.3", "ts-jest": "^29.0.3", "ts-node": "^10.9.1", "typescript": "~4.9.4" }, "dependencies": { "@cdkmox/moxbox": "^1.3.1", "aws-cdk-lib": "2.54.0", "aws-sdk": "^2.1274.0", "constructs": "^10.1.189", "source-map-support": "^0.5.21" } }

Possible Solution

No response

Additional Information/Context

No response

CDK CLI Version

2.54.0

Framework Version

No response

Node.js Version

v16.13.2

OS

MacOs 13.3.1

Language

Typescript

Language Version

No response

Other information

No response

pahud commented 1 year ago

related to #25196

pahud commented 1 year ago

I think we'll need to check link-all.sh but before we address that, are you able to write a simple cdk app under

@aws-cdk-testing/framework-integ/test/pipelines/test

for example, @aws-cdk-testing/framework-integ/test/pipelines/test/demo.ts

And spawn a terminal at framework-integ directory running yarn watch to compile demo.ts to demo.js and deploy your app with

# in framework-integ
$ npx cdk -a test/pipelines/test/demo.js deploy

In your demo.ts you will need to import aws-cdk-lib like this:

import {
  App, Stack,
  aws_eks as eks,
  aws_ec2 as ec2,
  aws_lambda as lambda,
} from 'aws-cdk-lib';

Let me know if it works for you.

Nico-DB commented 1 year ago

I did create a demo.ts, performed yarn watch. I cannot see a generated .js afterward. Furhter yarn watch spits a lot of errors:


3:03:06 PM - File change detected. Starting incremental compilation...

../../aws-cdk-lib/pipelines/lib/helpers-internal/pipeline-graph.ts(285,11): error TS6133: 'postPrepareNodes' is declared but its value is never read.
test/aws-apigateway/test/integ.api-definition.asset.ts(3,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-apigateway/test/integ.api-definition.inline.ts(2,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-apigateway/test/integ.base-path-mapping.ts(2,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-apigateway/test/integ.cloudwatch-disabled.ts(2,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-apigateway/test/integ.cors.ts(4,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-apigateway/test/integ.domain-name.ts(9,8): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-apigateway/test/integ.lambda-api-nonproxy.ts(3,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-apigateway/test/integ.lambda-api.latebound-deploymentstage.ts(3,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-apigateway/test/integ.lambda-api.ts(3,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-apigateway/test/integ.restapi-metrics.ts(3,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-apigateway/test/integ.restapi.access-log.ts(3,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-apigateway/test/integ.restapi.books.ts(3,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-apigateway/test/integ.restapi.defaults.ts(2,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-apigateway/test/integ.restapi.multistack.ts(3,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-apigateway/test/integ.restapi.multiuse.ts(3,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-apigateway/test/integ.restapi.ts(4,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-apigateway/test/integ.restapi.vpc-endpoint.ts(4,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-apigateway/test/integ.spec-restapi.ts(5,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-apigateway/test/integ.stepfunctions-api.ts(3,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-apigateway/test/authorizers/integ.cognito-authorizer.ts(3,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-apigateway/test/authorizers/integ.token-authorizer-iam-role.ts(5,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-apigateway/test/authorizers/integ.token-authorizer.ts(4,50): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-appsync/test/integ.appsync-none.ts(3,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-appsync/test/integ.graphql-opensearch.ts(5,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-appsync/test/integ.js-resolver.ts(6,43): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-appsync/test/integ.lambda-auth.ts(4,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-appsync/test/integ.log-retention.ts(4,43): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-autoscaling/test/integ.asg-capacity-rebalance.ts(4,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-autoscaling/test/integ.asg-w-elbv2.ts(6,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-autoscaling-hooktargets/test/integ.queue-hook.ts(6,43): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-certificatemanager/test/integ.certificate-name.ts(3,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-certificatemanager/test/integ.dns-validated-certificate.ts(3,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-cloudformation/test/integ.core-cross-region-references.ts(4,50): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-cloudformation/test/integ.core-deps.ts(16,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-cloudfront/test/integ.cloudfront-cross-region-cert.ts(4,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-cloudfront/test/integ.distribution-basic.ts(3,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-cloudfront/test/integ.distribution-http-version.ts(2,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-cloudfront/test/integ.distribution-origin-id.ts(2,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-cloudfront/test/integ.distribution-origin-shield.ts(2,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-cloudfront-origins/test/integ.rest-api-origin-custom-origin-path.ts(4,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-cloudfront-origins/test/integ.rest-api-origin.ts(4,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-cloudtrail/test/integ.cloudtrail-data-events-only.ts(4,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-cloudtrail/test/integ.cloudtrail-defaults.ts(2,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-cloudtrail/test/integ.cloudtrail-insight.ts(4,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-cloudwatch/test/integ.alarm-and-dashboard.ts(8,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-cloudwatch/test/integ.alarm-with-label.ts(2,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-cloudwatch/test/integ.composite-alarm.ts(2,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-cloudwatch/test/integ.dashboard-with-graphwidget-with-statistic.ts(2,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-cloudwatch/test/integ.dashboard.ts(2,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-cloudwatch/test/integ.gauge-alarm.ts(2,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-cloudwatch/test/integ.math-alarm-and-dashboard.ts(8,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-cloudwatch/test/integ.sparkline-singlevaluewidget-and-dashboard.ts(2,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-cloudwatch-actions/test/integ.ssm-incident-alarm-action.ts(5,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-codebuild/test/integ.asset-build-spec.ts(3,43): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-codebuild/test/integ.breakpoint.ts(3,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-codebuild/test/integ.project-standard-image.ts(4,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-codebuild/test/integ.report-group.ts(2,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-codedeploy/test/ecs/integ.deployment-config.ts(2,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-codedeploy/test/ecs/integ.deployment-group.ts(6,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-codedeploy/test/lambda/integ.deployment-config.ts(2,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-codeguruprofiler/test/integ.profiler-group-import-functions.ts(3,43): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-codeguruprofiler/test/integ.profiler-group.ts(3,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-codepipeline-actions/test/integ.pipeilne-elastic-beanstalk-deploy.ts(8,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-codepipeline-actions/test/integ.pipeline-ecr-source.ts(5,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-codepipeline-actions/test/integ.pipeline-s3-deploy.ts(5,50): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-codepipeline-actions/test/integ.pipeline-with-replication.ts(6,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-codepipeline-actions/test/s3/integ.source-bucket-events-cross-stack-same-env.ts(7,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-cognito/test/integ.user-pool-client-secret.ts(3,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-cognito/test/integ.user-pool-idp.saml.ts(2,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-cognito/test/integ.user-pool-ses-email.ts(2,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-config/test/integ.custompolicy.ts(3,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-config/test/integ.rule.ts(5,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-config/test/integ.scoped-rule.ts(3,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-dynamodb/test/integ.dynamodb.alarm-metrics.ts(3,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-dynamodb/test/integ.dynamodb.deletion-protection.ts(2,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ec2/test/integ.core-cross-stack-string-list-references.ts(3,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ec2/test/integ.instance.ts(3,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ec2/test/integ.launch-template.ts(2,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ec2/test/integ.machine-image.ts(1,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ec2/test/integ.nat-instances.lit.ts(3,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ec2/test/integ.placement-group.ts(2,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ec2/test/integ.ports.ts(2,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ec2/test/integ.volume.ts(2,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ec2/test/integ.vpc-filter-subnets.ts(2,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ec2/test/integ.vpc-flow-logs-customformat.ts(3,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ec2/test/integ.vpc-flow-logs-interval.ts(4,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ec2/test/integ.vpc-flow-logs.ts(4,63): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ec2/test/integ.vpc-ipam.ts(2,43): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ec2/test/integ.vpc-lookup.ts(2,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ec2/test/integ.vpc-reserved-azs.ts(2,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ecr/test/integ.basic.ts(2,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ecr/test/integ.imagescan.ts(2,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ecr/test/integ.repository-auto-delete-images.ts(2,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ecr-assets/test/integ.assets-tarball.ts(4,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ecs/test/ec2/integ.default-capacity-provider.ts(4,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ecs/test/ec2/integ.pseudo-terminal.ts(3,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ecs/test/ec2/integ.secret-json-field.ts(3,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ecs/test/ec2/integ.swap-parameters.ts(3,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ecs/test/ec2/integ.task-definition-container-ulimits.ts(3,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ecs/test/fargate/integ.exec-command.ts(7,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ecs/test/fargate/integ.pseudo-terminal.ts(3,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ecs/test/fargate/integ.secret.ts(3,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ecs/test/fargate/integ.service-connect.ts(2,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ecs-patterns/test/ec2/integ.alb-ecs-service-command-entry-point.ts(5,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ecs-patterns/test/ec2/integ.application-load-balanced-ecs-service.ts(5,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ecs-patterns/test/ec2/integ.healthchecks-multiple-application-load-balanced-ecs-service.ts(5,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ecs-patterns/test/ec2/integ.healthchecks-multiple-network-load-balanced-ecs-service.ts(4,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ecs-patterns/test/ec2/integ.multiple-application-load-balanced-ecs-service-idle-timeout.ts(7,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ecs-patterns/test/ec2/integ.multiple-application-load-balanced-ecs-service.ts(4,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ecs-patterns/test/ec2/integ.network-load-balanced-ecs-service.ts(5,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ecs-patterns/test/ec2/integ.scheduled-ecs-task.ts(5,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ecs-patterns/test/fargate/integ.alb-fargate-service-command-entry-point.ts(4,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ecs-patterns/test/fargate/integ.alb-fargate-service-https-idle-timeout.ts(6,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ecs-patterns/test/fargate/integ.alb-fargate-service-https.ts(6,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ecs-patterns/test/fargate/integ.asset-image.ts(5,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ecs-patterns/test/fargate/integ.circuit-breaker-load-balanced-fargate-service.ts(5,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ecs-patterns/test/fargate/integ.circuit-breaker-no-deployment-controller-fargate-service.ts(4,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ecs-patterns/test/fargate/integ.circuit-breaker-queue-processing-fargate-service.ts(6,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ecs-patterns/test/fargate/integ.executionrole.ts(5,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ecs-patterns/test/fargate/integ.healthchecks-multiple-application-load-balanced-fargate-service.ts(5,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ecs-patterns/test/fargate/integ.healthchecks-multiple-network-load-balanced-fargate-service.ts(4,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ecs-patterns/test/fargate/integ.l3-autocreate.ts(3,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ecs-patterns/test/fargate/integ.l3-capacity-provider-strategies.ts(4,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ecs-patterns/test/fargate/integ.l3-vpconly.ts(4,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ecs-patterns/test/fargate/integ.l3.ts(4,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ecs-patterns/test/fargate/integ.multiple-network-load-balanced-fargate-service.ts(4,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ecs-patterns/test/fargate/integ.queue-processing-fargate-service-isolated.ts(5,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ecs-patterns/test/fargate/integ.queue-processing-fargate-service-public.ts(5,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ecs-patterns/test/fargate/integ.queue-processing-fargate-service.ts(5,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ecs-patterns/test/fargate/integ.runtime-platform-application-load-balanced-fargate-service.ts(6,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ecs-patterns/test/fargate/integ.scheduled-fargate-task.ts(6,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ecs-patterns/test/fargate/integ.special-listener.ts(4,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-efs/test/integ.efs-filesystem-policy.ts(5,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-eks/test/integ.alb-controller.ts(4,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-eks/test/integ.eks-bottlerocket-ng.ts(5,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-eks/test/integ.eks-cluster-handlers-vpc.ts(3,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-eks/test/integ.eks-cluster-private-endpoint.ts(5,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-eks/test/integ.eks-cluster.ts(8,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-eks/test/integ.eks-helm-asset.ts(7,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-eks/test/integ.eks-inference.ts(4,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-eks/test/integ.eks-oidc-provider.ts(2,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-eks/test/integ.eks-service-account-sdk-call.ts(6,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-eks/test/integ.fargate-cluster.ts(3,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-elasticloadbalancing/test/integ.instanceTarget.elb.ts(6,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-elasticloadbalancingv2/test/integ.alb.attributes.ts(4,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-elasticloadbalancingv2/test/integ.connection-termination.nlb.ts(5,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-elasticloadbalancingv2/test/integ.nlb-lookup.ts(3,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-elasticloadbalancingv2/test/integ.nlb-lookup.ts(4,36): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-elasticloadbalancingv2/test/integ.nlb.ts(3,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-elasticloadbalancingv2-actions/test/integ.cognito.ts(5,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-elasticsearch/test/integ.elasticsearch-vpc.ts(3,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-events/test/integ.archive.ts(2,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-events/test/integ.connection.ts(2,63): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-events/test/integ.cross-account-rule.ts(3,50): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-events/test/integ.eventbus.ts(3,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-events/test/integ.rule.ts(2,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-events-targets/test/batch/integ.job-definition-events.ts(1,24): error TS2307: Cannot find module '@aws-cdk/aws-batch-alpha' or its corresponding type declarations.
test/aws-events-targets/test/ecs/integ.event-ec2-task.ts(7,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-events-targets/test/ecs/integ.event-fargate-task.ts(7,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-events-targets/test/logs/integ.log-group.ts(5,43): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-fsx/test/integ.lustre-file-system-with-s3.ts(4,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-globalaccelerator/test/integ.globalaccelerator-unique-name.ts(3,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-iam/test/integ.access-key.ts(2,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-iam/test/integ.composite-principal.ts(2,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-iam/test/integ.condition-with-ref.ts(2,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-iam/test/integ.group.ts(4,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-iam/test/integ.imported-role.ts(5,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-iam/test/integ.managed-policy.ts(2,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-iam/test/integ.oidc-provider.ts(2,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-iam/test/integ.permissions-boundary.ts(2,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-iam/test/integ.policy.ts(2,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-iam/test/integ.principal-with-conditions.ts(2,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-iam/test/integ.role.ts(2,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-iam/test/integ.saml-provider.ts(4,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-iam/test/integ.user.ts(2,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-iam/test/integ.users-and-groups.ts(2,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-kms/test/integ.key-hmac.ts(3,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-lambda/test/integ.bundling.docker-opts.ts(3,43): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-lambda/test/integ.bundling.ts(3,43): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-lambda/test/integ.lambda-adot.ts(2,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-lambda/test/integ.lambda-customize-roles.ts(4,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-lambda/test/integ.lambda.docker-arm64.ts(3,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-lambda/test/integ.lambda.docker.ts(3,50): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-lambda/test/integ.runtime-management.ts(2,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-lambda-destinations/test/integ.destinations.ts(5,59): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-lambda-destinations/test/integ.lambda-chain.ts(3,66): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-lambda-event-sources/test/integ.dynamodb-with-filter-criteria.ts(4,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-lambda-event-sources/test/integ.kafka-selfmanaged.ts(4,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-lambda-event-sources/test/integ.kinesis-at-timestamp.ts(4,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-lambda-event-sources/test/integ.sqs-max-concurrency.ts(3,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-lambda-event-sources/test/integ.sqs-with-filter-criteria.ts(4,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-lambda-nodejs/test/integ.dependencies-pnpm.ts(4,43): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-lambda-nodejs/test/integ.dependencies.ts(4,43): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-logs/test/integ.log-retention.ts(2,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-logs/test/integ.loggroup-grantread.ts(3,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-logs/test/integ.metricfilter-dimensions.ts(2,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-logs/test/integ.metricfilter-unit.ts(3,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-logs/test/integ.save-logs-insights-query-definition.ts(2,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-logs-destinations/test/integ.kinesis.ts(4,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-logs-destinations/test/integ.lambda.ts(8,50): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-opensearchservice/test/integ.opensearch.cognitodashboardsauth.ts(4,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-opensearchservice/test/integ.opensearch.vpc.ts(3,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-rds/test/integ.cluster-dual.ts(3,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-rds/test/integ.instance-dual.ts(3,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-rds/test/integ.instance-gp3.ts(3,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-rds/test/integ.proxy.ts(4,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-rds/test/integ.rolling-instance-updates.ts(3,29): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-rds/test/integ.serverless-cluster-secret-rotation-custom-names.ts(5,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-rds/test/integ.serverless-cluster-secret-rotation.ts(5,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-route53-patterns/test/integ.hosted-redirect-same-region.ts(4,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-route53-patterns/test/integ.hosted-redirect.ts(4,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-route53-targets/test/integ.api-gateway-domain-name.ts(7,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-s3/test/integ.bucket-auto-delete-objects.ts(3,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-s3/test/integ.bucket-grant-write.ts(4,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-s3/test/integ.bucket-grantdelete-kms.ts(5,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-s3/test/integ.bucket-import-server-access-logs.ts(3,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-s3/test/integ.bucket-intelligent-tiering.ts(2,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-s3/test/integ.bucket-inventory.ts(3,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-s3/test/integ.bucket-object-lock.ts(3,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-s3/test/integ.bucket-sharing.ts(3,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-s3/test/integ.bucket.domain-name.ts(2,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-s3/test/integ.bucket.notifications.ts(3,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-s3/test/integ.bucket.server-access-logs.ts(3,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-s3/test/integ.bucket.ts(4,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-s3/test/integ.bucket.url.ts(2,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-s3/test/integ.lifecycle-expiration.ts(2,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-s3/test/integ.lifecycle.ts(2,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-s3-assets/test/integ.assets.bundling.docker-opts.ts(3,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-s3-deployment/test/integ.bucket-deployment-data.ts(3,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-s3-deployment/test/integ.bucket-deployment-deployed-bucket.ts(4,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-s3-deployment/test/integ.bucket-deployment.ts(5,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-s3-deployment/test/integ.bucket-deployment.ts(6,23): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-s3-notifications/test/sqs/integ.bucket-notifications.ts(4,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-servicecatalog/test/integ.product.ts(6,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ses/test/integ.configuration-set.ts(2,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ses/test/integ.email-identity.ts(3,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ses/test/integ.vdm-attributes.ts(2,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-sns/test/integ.sns-fifo.no-name.ts(2,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-sns-subscriptions/test/integ.sns-sqs.ts(4,43): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-sqs/test/integ.sqs.ts(4,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ssm/test/integ.list-parameter.ts(2,50): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ssm/test/integ.parameter-arns.ts(2,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ssm/test/integ.parameter-store-string.ts(2,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-ssm/test/integ.parameter.ts(3,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-stepfunctions/test/integ.intrinsics.ts(2,43): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-stepfunctions/test/integ.listAt-after-parallel.ts(2,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-stepfunctions/test/integ.state-machine-credentials.ts(3,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-stepfunctions-tasks/test/integ.evaluate-expression.ts(2,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-stepfunctions-tasks/test/apigateway/integ.call-rest-api.ts(5,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-stepfunctions-tasks/test/aws-sdk/integ.call-aws-service-sfn.ts(3,43): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-stepfunctions-tasks/test/batch/integ.run-batch-job.ts(2,24): error TS2307: Cannot find module '@aws-cdk/aws-batch-alpha' or its corresponding type declarations.
test/aws-stepfunctions-tasks/test/batch/integ.submit-job.ts(2,24): error TS2307: Cannot find module '@aws-cdk/aws-batch-alpha' or its corresponding type declarations.
test/aws-stepfunctions-tasks/test/dynamodb/integ.stringset-after-parallel.ts(4,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-stepfunctions-tasks/test/eks/integ.call.ts(5,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-stepfunctions-tasks/test/emr/integ.emr-create-cluster-with-v1-policy.ts(3,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-stepfunctions-tasks/test/emr/integ.emr-create-cluster-with-v2-policy.ts(5,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-stepfunctions-tasks/test/emrcontainers/integ.job-submission-workflow.ts(6,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-stepfunctions-tasks/test/emrcontainers/integ.start-job-run.ts(8,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/aws-stepfunctions-tasks/test/eventbridge/integ.put-events.ts(4,43): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/custom-resources/test/aws-custom-resource/integ.aws-custom-resource-athena.ts(4,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/custom-resources/test/aws-custom-resource/integ.aws-custom-resource-vpc.ts(3,27): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/custom-resources/test/aws-custom-resource/integ.aws-custom-resource.ts(6,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/custom-resources/test/provider-framework/integ.provider.ts(4,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/lambda-layer-awscli/test/integ.awscli-layer.ts(5,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/lambda-layer-kubectl/test/integ.kubectl-layer.ts(5,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/lambda-layer-node-proxy-agent/test/integ.node-proxy-agent.ts(6,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/pipelines/test/demo.ts(1,1): error TS6192: All imports in import declaration are unused.
test/pipelines/test/integ.newpipeline-with-cross-account-keys.ts(3,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/pipelines/test/integ.newpipeline-with-file-system-locations.ts(7,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/pipelines/test/integ.newpipeline.ts(58,11): error TS6133: 'group' is declared but its value is never read.
test/pipelines/test/integ.newpipeline.ts(74,7): error TS6196: 'AppStage' is declared but never used.
test/pipelines/test/integ.newpipeline.ts(89,7): error TS6196: 'AppStage2' is declared but never used.
test/pipelines/test/integ.pipeline-security.ts(9,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/pipelines/test/integ.pipeline-with-artifact-bucket.ts(7,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/pipelines/test/integ.pipeline-with-stack-outputs-in-custom-step.ts(7,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/pipelines/test/integ.pipeline-without-prepare.ts(5,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.
test/triggers/test/integ.triggers.ts(5,24): error TS2307: Cannot find module '@aws-cdk/integ-tests-alpha' or its corresponding type declarations.

3:03:15 PM - Found 278 errors. Watching for file changes.```
pahud commented 1 year ago

We have added additional description about this in https://github.com/aws/aws-cdk/pull/25361

Before you run yarn watch at framework-integ, make sure to build up the framework-integ by running

npx lerna run build --scope=@aws-cdk-testing/framework-integ

Please check out this section for the details.

We really care about contribution experience. Feel free to ping me on cdk.dev slack if you need to discuss.

Nico-DB commented 1 year ago

Thanks. I could now generate the .js files. Does this mean, that the link-all.sh should work now? Further is it normal that all the errors mentioned in this conversation do appear?

Nico-DB commented 1 year ago

@pahud I currently still have the problem, that when running npx lerna run build --scope=@aws-cdk-testing/framework-integ the resulting .js files do not match the code i have in my .ts file (it shows old code). I did already perform yarn build on "framework-integ" level. Do you have a hint ?

pahud commented 1 year ago

@Nico-DB

You only need to run npx lerna run build --scope=@aws-cdk-testing/framework-integ for the first time. After that, you need to run yarn watch at framwork-integ so every time you modify .ts under framework-integ, yarn watch will detect that and auto compile it to .js for you.

Check contributing guide for more details:

image

However, if you modify .ts under packages/aws-cdk-lib you will need to run another yarn watch at aws-cdk-lib as described in the guide.

github-actions[bot] commented 1 year ago

This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled.