Compilation error with version 3.1.0
See original GitHub issueupgrading from 3.0.6 to 3.1.0, I’m hitting these compilation errors:
node_modules/cross-fetch/index.d.ts:18:14 - error TS2304: Cannot find name 'BodyInit'.
18 new(body?: BodyInit | null, init?: ResponseInit): Response;
~~~~~~~~
node_modules/cross-fetch/index.d.ts:18:38 - error TS2304: Cannot find name 'ResponseInit'.
18 new(body?: BodyInit | null, init?: ResponseInit): Response;
~~~~~~~~~~~~
node_modules/cross-fetch/index.d.ts:25:14 - error TS2304: Cannot find name 'HeadersInit'.
25 new(init?: HeadersInit): Headers;
environment versions:
(base) [apupier@fedora vscode-camelk]$ nvm version
v11.15.0
(base) [apupier@fedora vscode-camelk]$ npm --version
6.7.0
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Compilation error with version 3.1.2 · Issue #101 - GitHub
Upgrading from 3.1.1 to 3.1.2 causes the following errors: node_modules/cross-fetch/index.d.ts(1,13): error TS1005: '=' expected. node_modules/ ...
Read more >ERROR in The Angular Compiler requires TypeScript >=3.1.1 ...
In my case below command worked for windows. It will install latest required version between 3.1.1 and 3.2.
Read more >Compiler Error after upgraded the Visual Studio 2022 version ...
Hi, I have recently upgraded my VS 2022 to Preview 4.1 version. After that I got compilation errors related to namespaces. FAC1iLEUUAgTW1O.png.
Read more >Getting compilation error in IntelliJ after upgrading Spark ...
We are currently using spark cassandra connector version 2.4.2 without any issue when compiling in intellij with sbt package.
Read more >Troubleshooting .NET Framework Targeting Errors - MSBuild
To resolve the error, make sure that your application targets a .NET version that's compatible with the version that's targeted by the ...
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 FreeTop 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
Top GitHub Comments
ok, this is supposed to be fixed on 3.1.1. please let me know if other issues come up. closing this for now.
Same here. If I open the index.d.ts all 3 lines are marked “red” in my IDE.
BodyInit
andHeadersInit
are missing in the import, butResponseInit
is not existing at all. 😦Caused by PR #93