Git Product home page Git Product logo

Comments (5)

agdimech avatar agdimech commented on May 18, 2024 1

As a stopgap, are you able to do the following:

  1. Add this on line 14/15 after your monorepo definition in .projenrc.ts project.package.addPackageResolutions("@types/[email protected]");
  2. Run npx projen from root
  3. Run npx nx run-many --target=build --all

The issue appears to be that v >= 7.18.3 do not support typescript 3.9 (JSII limitation) and hence it will need to be pinned.

Also as an aside, make sure your .projenrc.ts file only has a single call to project.synth() otherwise you will be wasting a lot of time unnecessarily waiting for things to synthesize :)

I will add a follow-up fix to NXMonorepoProject to automatically Pin this dep to 7.18.2.

from aws-pdk.

agdimech avatar agdimech commented on May 18, 2024

Hi. Thanks for raising this.

The PDK itself is currently being built using @types/[email protected] on NX and I don't see any build failures surfacing. Are you able to please provide more details into how this can be reproduced? A sample repo which I can trigger a build on would be ideal.

from aws-pdk.

pchaganti avatar pchaganti commented on May 18, 2024

The link in the projen ticket above contains a zipped test repo.

thanks

from aws-pdk.

pchaganti avatar pchaganti commented on May 18, 2024

Attached a test repo. node modules removed for size reasons.

Run yarn install
Run npx nx run-many --target=build --all

test_projen.zip

from aws-pdk.

pchaganti avatar pchaganti commented on May 18, 2024

I am already doing the stopgap and it works for me.

from aws-pdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.