Comments (4)
@agdimech Are you having the same issue in #710 ?
from aws-pdk.
I've also had this issue and can't find a solution...
from aws-pdk.
Hi - sorry for the delayed response.
The reason this is happening is because we actual pin the projen version as per:
So what is happening is the following:
1.) npm-check-updates runs and bumps everything to the latest version (projen is 0.82.6 as of today)
2.) syncpack ensures all subprojects use this version
3.) a synthesis occurs which picks up the default projen version which is currently pinned to ^0.79.24
To resolve this, you will need to do pin the projen version within your .projenrc
as follows:
Option A: Pinned Version
const monorepo = new MonorepoTsProject({
name: "@demo/monorepo",
defaultReleaseBranch: "main",
packageManager: NodePackageManager.PNPM,
projenVersion: "^0.82.6",
tsconfig: {
compilerOptions: {
lib: ["es2019", "dom"],
skipLibCheck: true,
},
},
});
Option B: Latest Resolved Version
Note: this will result in the projen version being bumped each time you run a synth.
const monorepo = new MonorepoTsProject({
name: "@demo/monorepo",
defaultReleaseBranch: "main",
packageManager: NodePackageManager.PNPM,
projenVersion: "*",
tsconfig: {
compilerOptions: {
lib: ["es2019", "dom"],
skipLibCheck: true,
},
},
});
Let me know if this resolves your issue and again apologies for the delay (I was on vacation and then quite sick :( )
from aws-pdk.
@agdimech Thank you!
Very Close... the dependencies updated, and almost everything builds.
Unfortunately the latest CloudscapeReactTsWebsiteProject
is causing this error when building the website:
Attempted import error: 'getLogicalBoundingClientRect' is not exported from '@cloudscape-design/component-toolkit/internal' (imported as 'getLogicalBoundingClientRect').
I have logged a bug here which hopefully resolves it: cloudscape-design/component-toolkit#66
In my demo repo I did not add a CloudscapeReactTsWebsiteProject to keep things simple :(
from aws-pdk.
Related Issues (20)
- [BUG] npx projen build doesn't remove corresponding files in `packages/api/handlers/typescript/test` (and other files, see detailed issue) HOT 2
- [FEATURE] Manage Amplify projects with pdk HOT 3
- βEISDIRβ EISDIR: illegal operation on a directory, read HOT 2
- [BUG] Passing a smithy api to Infrastructure results in namespace being prepended in the variable and class name
- [BUG] type-safe-api appending "operation" to some operationIds HOT 1
- [BUG] Python Lambda handlers in type-safe-api can't import runtime module HOT 1
- [DOCS] Getting Started - Incorrect JDK install links
- [BUG] typesafe-api code generation script doesn't handle spaces in the directory path
- [BUG] (short issue description)Codegen for mocks fails on filename case mismatch.
- Publishing vv0.23.42 to maven failed
- [BUG] (Maven plugin executions synthesized incorrectly) HOT 2
- [FEATURE] (allow sorting of pom.xml plugins for maven) HOT 2
- Publishing vv0.23.44 to maven failed
- [FEATURE] Add support for RuleActionOverrides for WAF using TypeSafeApi constructs
- Publishing vv0.23.44 to maven failed HOT 1
- [BUG] several deprecated dependencies in monorepo-ts template
- [BUG] MonorepoTsProject should lint .projenrc.ts and projenrc/**.ts
- [FEATURE] Add ability to customize outputSpecLocation S3 bucket for type-safe-rest-api PrepareApiSpecCustomResource HOT 1
- [BUG] (type-safe-api) install fails on python runtime package with missing README HOT 1
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.