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:
- Created 4 years ago
- Reactions:2
- Comments:6 (3 by maintainers)
Top 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 >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
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 😉
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.