Skip to content

Yarn pnp support #3149

Open
Open
@gkaskonas

Description

@gkaskonas

Expected Behavior

Should install using pnp and work

Actual Behavior

Error: @cdktf/provider-generator tried to access glob, but it isn't declared in its dependencies; this makes the require call ambiguous and unsound.

Steps to Reproduce

  1. Create a new cdktf project
  2. install dependencies
  3. run cdktf diff

Versions

language: typescript
cdktf-cli: 0.18.0
node: v20.5.0
cdktf: null
constructs: null
jsii: null
terraform: 1.3.7
arch: arm64
os: darwin 22.6.0

Providers

No response

Gist

No response

Possible Solutions

Fix package.json dependencies

Workarounds

packageExtensions:
  "@cdktf/hcl2cdk@*":
    dependencies:
      cdktf: 0.18.0
      codemaker: 1.89.0
  "@cdktf/provider-generator@*":
    dependencies:
      glob: 10.3.10
  cdktf-cli@*:
    dependencies:
      "@cdktf/node-pty-prebuilt-multiarch": "0.10.1-pre.10"

Anything Else?

No response

References

No response

Help Wanted

  • I'm interested in contributing a fix myself

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority/backlogLow priority (though possibly still important). Unlikely to be worked on within the next 6 months.size/smallestimated < 1 day

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions