Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiler error using with TypeScript 4.8 #177

Open
antiphoton opened this issue Apr 24, 2023 · 0 comments
Open

Compiler error using with TypeScript 4.8 #177

antiphoton opened this issue Apr 24, 2023 · 0 comments

Comments

@antiphoton
Copy link

Background

This repository is developed with TypeScript 4.3.5, because of the package-lock.json file at repository root.

However, the published NPM package capnpc-ts does not contain a package-lock.json file, because there it no package-lock.json in pacakges/capnpc-ts folder. The NPM package capnpc-ts uses TypeScript ^4.2.4.

Problem

When a user runs npm install capnpc-ts, it installs the latest [email protected].

However, there is a breaking change TS#49089 in TypeScirpt 4.8, hence [email protected] does not work with [email protected].

Temporary Solution

Lock the version of TypeScript before installing capnpc-ts

npm install [email protected]
npm install capnpc-ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant