question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Compilation error with version 3.1.2

See original GitHub issue

First 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:closed
  • Created 2 years ago
  • Comments:12 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
mshwerycommented, Apr 13, 2021

This revert undoes #70, we should reopen that.

1reaction
lquixadacommented, Apr 1, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found