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.

Ivy: ERROR in Unsupported binary operator: EqualsEqualsEqualsToken

See original GitHub issue

🐞 bug report

Affected Package

I guess the issue is caused by package @angular/compiler-cli because googling for that operator, the only reference I get is about a metadata file inside that package.

Description

After reading https://blog.angular.io/its-time-for-the-compatibility-opt-in-preview-of-ivy-38f3542a282f I wanted to see the bundle size of a project of mine to compare the final prod size, and I got the error.

🔬 Minimal Reproduction

It’s a large project using different libs, so I’m not sure of the exact origin to reproduce it.

🔥 Exception or Error


Date: 2019-06-16T03:18:32.502Z
Hash: 23322230c697a07e45b1
Time: 429325ms
chunk {0} runtime.741402d1d47331ce975c.js (runtime) 1.41 kB [entry] [rendered]
chunk {1} main.4af9b61479361f268d39.js (main) 128 bytes [initial] [rendered]
chunk {2} polyfills.961ffc045f11208a7197.js (polyfills) 130 bytes [initial] [rendered]
chunk {3} styles.3ef5a23be68fc1aa7d7a.css (styles) 79.1 kB [initial] [rendered]

ERROR in Unsupported binary operator: EqualsEqualsEqualsToken
error Command failed with exit code 1.

🌍 Your Environment

Angular Version:


@angular-devkit/architect          0.800.1
@angular-devkit/build-angular      0.800.3
@angular-devkit/build-ng-packagr   0.800.3
@angular-devkit/build-optimizer    0.800.3
@angular-devkit/build-webpack      0.800.3
@angular-devkit/core               8.0.1
@angular-devkit/schematics         8.0.1
@angular/cli                       8.0.3
@angular/fire                      5.2.1
@angular/flex-layout               8.0.0-beta.26
@ngtools/json-schema               1.1.0
@ngtools/webpack                   8.0.3
@schematics/angular                8.0.1
@schematics/update                 0.800.3
ng-packagr                         5.3.0
rxjs                               6.5.2
typescript                         3.4.4
webpack                            4.30.0

Anything else relevant?

I develop on Linux using yarn as the package manager.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
JoostKcommented, Jun 18, 2019

I think I do know where the issue comes from, we should be able to create a local test to reproduce the issue and provide a fix accordingly.

So for me, I don’t necessarily need a repo 😉

0reactions
angular-automatic-lock-bot[bot]commented, Sep 15, 2019

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

Read more comments on GitHub >

github_iconTop Results From Across the Web

angular 8 with ivy cannot build - Stack Overflow
I migrated my package to angular 8 and i want to use ivy because i use lazy loaded modules. When i run ng...
Read more >
"Fossies" - the Fresh Open Source Software Archive
Expression { 142 // Build up a chain of binary + operations to simulate the ... createFalse(); 204 } else { 205 throw...
Read more >
Package Diff: @angular/compiler-cli @ 6.0.3 .. 6.1.10
+ throw new Error("In Ivy, decorator metadata must be inline."); ... + throw new Error("Unsupported binary operator: " + ts.SyntaxKind[tokenKind]);.
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