Compilation error with version 3.1.2
See original GitHub issueFirst of all, thanks for your powerful package!
Problem
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/cross-fetch/index.d.ts(10,1): error TS1109: Expression expected.
node_modules/cross-fetch/index.d.ts(10,8): error TS1005: ';' expected.
node_modules/cross-fetch/index.d.ts(11,13): error TS1005: '=' expected.
node_modules/cross-fetch/index.d.ts(11,45): error TS1005: ';' expected.
Environment
"cross-fetch": "3.1.2",
"typescript": "3.6.5",
"rollup": "1.32.1",
"rollup-plugin-typescript2": "0.20.1"
Workaround
Downgrading to version 3.1.1 (or "cross-fetch": "^3.1 <=3.1.1 || ^3.1 >3.1.2"
).
Issue Analytics
- State:
- Created 2 years ago
- Comments:12 (4 by maintainers)
Top Results From Across the Web
ERROR in The Angular Compiler requires TypeScript >= ...
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 >TejasJava: Building error of Jikesrvm - 3.1.2
Hi guys, I'm trying to build the JikesRVM for Tejas Java. bin/buildit localhost development. The build starts but at one point it fails....
Read more >The current .NET SDK does not support 'newer version' as ...
This error occurs when the build tools can't find the version of the .NET SDK that's needed to build a project. This is...
Read more >Spark Release 3.1.2
Spark 3.1.2 is a maintenance release containing stability fixes. ... [SPARK-34796]: Codegen compilation error for query with LIMIT operator and without AQE ...
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
This revert undoes #70, we should reopen that.
hey all! sorry for the trouble! adding local types to cross-fetch has been trickier than originally thought so I’m reverting those changes so everyone can run it safely. Please let me know if
3.1.4-alpha.0
works for you.