Comments (3)
@types/[email protected]
is the last ^16
version that works.
@types/node^18.11.19
is the last ^18
version that works.
Also tested @types/node^20
but these never worked, so I'm falling back to ^18 for them.
from projen.
Yes. @types/node
has released a version that is not compatible with older versions of TypeScript anymore (you are likely using TS 3.9).
Best way forward is to upgrade to a current version of TS and jsii.
Alternatively use a pin to use the last working version.
FWIW I don't think it's the projen upgrade that causes this, but the upgrade of @types/node
in the same PR.
from projen.
Also failing tests in projen itself.
node_modules/@types/node/ts4.8/crypto.d.ts:3495:17 - error TS1110: Type expected.
3495 type UUID = `${string}-${string}-${string}-${string}-${string}`;
~~~
FAIL test/jsii/jsii.test.ts (178.227 s)
● JsiiProject with default settings › compiles
Command failed: "/Users/kornherm/.fnm/node-versions/v18.14.2/installation/bin/node" "/Users/kornherm/code/projen/projen/lib/cli/index.js" "compile"
👾 compile | jsii --silence-warnings=reserved-word
[2024-02-06T22:12:40.352] [ERROR] jsii/compiler - Compilation errors prevented the JSII assembly from being created
👾 Task "compile" failed when executing "jsii --silence-warnings=reserved-word" (cwd: /private/var/folders/_z/2dl7wtwd5xz42qh38n0fw0vw0000gr/T/projen.s7S5VW)
24 | ): void {
25 | logging.debug(command);
> 26 | child_process.execSync(command, {
| ^
27 | stdio: ["inherit", 2, "pipe"], // "pipe" for STDERR means it appears in exceptions
28 | maxBuffer: MAX_BUFFER,
29 | cwd: options.cwd,
at exec (src/util.ts:26:17)
at execProjenCLI (test/util.ts:43:14)
at Object.<anonymous> (test/jsii/jsii.test.ts:40:18)
from projen.
Related Issues (20)
- Should `args` be returned by the task --inspect CLI command? HOT 1
- Error when using `NodePackageManager.BUN` with `NodejsFunction` HOT 5
- Update actions due to node v16 deprecation notice: codecov/codecov-action HOT 1
- gitlab build workflow HOT 1
- Rerunning projen cannot proceed due to existing license. HOT 10
- integ tests on private cdk lib fail since two days - ideas how to debug welcome HOT 6
- NpmConfig uses package 'ini' which adds CRLF on Windows HOT 1
- packaging fails when cdk.out dir is significant in size HOT 9
- Export util modules HOT 9
- Unable to ignore lines for coverage in projen project HOT 1
- `npx projen new jsii --package-manager npm` fails due to peer dependency issue HOT 2
- Publish to CodeArtifact fails for Nuget packages HOT 2
- github issue template
- Publishing v0.81.11 to PyPI failed HOT 1
- Generated source code for LambdaFunction where `edgeLambda: true` is incorrect HOT 3
- Release tags wrong commit HOT 1
- !reference tag in gitlab job scripts will be rendered in quotes
- typeRoots is missing in TypescriptConfigOptions
- moduleDetection is missing in TypescriptConfigOptions
- Getting Started on home page is broken
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 projen.