Comments (5)
As a stopgap, are you able to do the following:
- Add this on line 14/15 after your monorepo definition in .projenrc.ts
project.package.addPackageResolutions("@types/[email protected]");
- Run
npx projen
from root 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.
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.
The link in the projen ticket above contains a zipped test repo.
thanks
from aws-pdk.
Attached a test repo. node modules removed for size reasons.
Run yarn install
Run npx nx run-many --target=build --all
from aws-pdk.
I am already doing the stopgap and it works for me.
from aws-pdk.
Related Issues (20)
- [BUG] pdk new monorepo-ts fails with missing dependency "mustache" HOT 2
- [BUG] projen generates inconsistent path separator for windows users HOT 4
- [BUG] sharp issue for new pdk project HOT 1
- [DOCS] update docs to reflect BUN support HOT 1
- [BUG] (cannot create new monorepo-py) HOT 1
- [BUG] graph plugin does not respect per-diagram FilterPlan config HOT 1
- test
- [FEATURE] test
- [FEATURE] (short issue description)
- [BUG] Upgrade Deps issues HOT 5
- [BUG] CDK deployment fails due to missing modules HOT 2
- [BUG] aenum based unit tests seem broken HOT 4
- [DOCS] Inconsistent monorepo const name HOT 3
- [BUG] Issue with CloudscapeReactTsWebsiteProject package name with InfrastructureTsProject HOT 2
- [BUG] unmet peer projen@^0.76.25: found 0.77.3 HOT 3
- [BUG] [type-safe-api] Error: Path /path contains unsupported methods summary, description, parameters. Supported methods are get, put, post, delete, options, head, patch, trace. HOT 2
- [DOCS] Add Windows/WSL onboarding to Getting Started Page HOT 1
- [BUG] Python pdk command "Cannot find module '../lib/cli.js'" HOT 2
- [BUG] Current stable python version (3.11) requires an explicit installation of 3.11 dependencies in .projenrc
- [FEATURE] (type-safe-api) Ability to configure runtime/language versions in one place
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-pdk.