You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 typescript@4.9.5.
However, there is a breaking change TS#49089 in TypeScirpt 4.8, hence capnpc-ts@0.7.0 does not work with typescript@4.9.5.
Temporary Solution
Lock the version of TypeScript before installing capnpc-ts
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 apackage-lock.json
file, because there it nopackage-lock.json
inpacakges/capnpc-ts
folder. The NPM packagecapnpc-ts
uses TypeScript ^4.2.4.Problem
When a user runs
npm install capnpc-ts
, it installs the latesttypescript@4.9.5
.However, there is a breaking change TS#49089 in TypeScirpt 4.8, hence
capnpc-ts@0.7.0
does not work withtypescript@4.9.5
.Temporary Solution
Lock the version of TypeScript before installing
capnpc-ts
The text was updated successfully, but these errors were encountered: