[1.0.0] Unable to build typescript project with new version
See original GitHub issueHello.
I’m trying to upgrade to isomorphic-git 1.0.0. Congratulations on the milestone, by the way!
I’m running into an error with typescript in my node project whenever I try to build and run tsc --build :
node_modules/isomorphic-git/http/node/index.d.ts(90,27): error TS2339: Property 'onProgress' does not exist on type 'GitHttpRequest'.
node_modules/isomorphic-git/index.d.ts(931,121): error TS2339: Property 'debug' does not exist on type '{ fs: CallbackFsClient | PromiseFsClient; onProgress?: ProgressCallback; dir: string; gitdir?: string; ref?: string; filepaths?: string[]; ... 4 more ...; force?: boolean; }'.
I’m using typescript 3.8.2 and this was working perfectly with the previous isomorphic-git version.
Thanks for your help!
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
Unable to compile TypeScript sub-project · Issue #416 - GitHub
I am following the published guides trying to add (basic) support for the Dutch language, however I am facing an error while building...
Read more >How to set up TypeScript
To do this, run npm install -g typescript . This will install the latest version (currently 4.9). An alternative is to use npx...
Read more >Trouble getting simple Typescript file to run - Stack Overflow
I am using Windows 10 if that makes a difference. > part9@1.0.0 ts-node C:\Users\user\Documents\ ...
Read more >A Complete Guide to Using TypeScript in Node.js - Better Stack
We need to set up a configuration file ( tsconfig.json ) for our project before we can start compiling our source files. If...
Read more >Npm install command failing with message "could not find ...
I was following the project setup. When I run the npm install command, npm starts downloading the dependencies. But then, suddenly, it stops ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Workaround
FYI, I’ve monkey patched this locally thanks to the awesome patch-package package, how very meta!
Here’s my patch file which allows me to build:
This goes into
patches/isomorphic-git+1.0.0.patch
.I confirm it now builds, thank you 😃