Skip to content

link-all.sh not working as expected #34610

Closed
@rantoniuk

Description

@rantoniuk

Describe the issue

I'm following the contribution guide:

  • I cloned the repository
  • ran the npx lerna run build --skip-nx-cache
  • created a fresh CDK TS-based app
  • and ran link-all.sh script

Even though I see the linking script to do symlinks, I still see:

$ npx cdk --version
2.1006.0 (build a3b9762)

instead of 0.0.0. When I tried to do:

$ rm -rf node_modules
$ npx cdk --version
Need to install the following packages:
[email protected]
Ok to proceed? (y)

It seems like it's not seeing the locally built CDK version. I even went through my system, cleaned up stale aws-cdk versions but it didn't help. Anything obvious I am missing here?

Links

https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md#linking

Metadata

Metadata

Assignees

No one assigned

    Labels

    docs/repo-generalRelated to repo documentation (CONTRIBUTING, CODE_OF_CONDUCT, etc.)effort/smallSmall work item – less than a day of effortp2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions