Compilation error in Ivy mode with 8.0.0-rc.5
See original GitHub issue🐞 bug report
Is this a regression?
No
Description
I have a working Angular v7 application with the following dependency: “angular-star-rating”: “^3.0.8”
If I upgrade my application to the 8.0.0-rc.5 version it builds fine. But if enable Ivy mode in tsconfig.json
"angularCompilerOptions": {
"enableIvy": true
},
I start getting this error message during build.
🔬 Minimal Reproduction
ng build --prod
🔥 Exception or Error
ERROR in ENOENT: no such file or directory, open 'node_modules/angular-star-rating/angular-star-rating.js'
🌍 Your Environment
Angular Version:
Angular CLI: 8.0.0-rc.4
Node: 11.3.0
OS: win32 x64
Angular: 8.0.0-rc.5
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router
Package Version
-----------------------------------------------------------
@angular-devkit/architect 0.800.0-rc.4
@angular-devkit/build-angular 0.800.0-rc.4
@angular-devkit/build-optimizer 0.800.0-rc.4
@angular-devkit/build-webpack 0.800.0-rc.4
@angular-devkit/core 8.0.0-rc.4
@angular-devkit/schematics 8.0.0-rc.4
@angular/cdk 8.0.0-rc.2
@angular/cli 8.0.0-rc.4
@angular/http 8.0.0-beta.10+1.sha-a28b3e3
@angular/material 8.0.0-rc.2
@ngtools/webpack 8.0.0-rc.4
@schematics/angular 8.0.0-rc.4
@schematics/update 0.800.0-rc.4
rxjs 6.5.2
typescript 3.4.5
webpack 4.30.0
Issue Analytics
- State:
- Created 4 years ago
- Comments:15 (7 by maintainers)
Top Results From Across the Web
angular 13 ng build library fails (ivy partial compilation mode)
I try ng build my-lib and get the below error. ✖ Compiling with Angular sources in Ivy partial compilation mode. Transform failed with ......
Read more >The Angular Ivy guide for library authors
This has to do with how compiled component factories and metadata worked in those versions of Angular. Ivy follows the principle of locality ......
Read more >@angular-devkit/build-angular | Yarn - Package Manager
@angular-devkit/build-angular. Commit, Type, Description. ccc8e0350, fix, display actionable error when a style does not exist in Karma builder.
Read more >Considerations in adopting RHEL 8 Red Hat Enterprise Linux 8
Red Hat is committed to replacing problematic language in our code, documentation, and web properties. We are beginning with these four terms: master, ......
Read more >R2022-12 (monthly release cumulative patch) - 7.3
If you have enabled the shared mode for Talend Studio 7.3.1, ... TUP-35887 - "build job" working in 7.2.1 fails in 8.0.1: Failed...
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 Free
Top 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
I opened PR #30795 that should get this supported. Unfortunately, we hit a restriction in TypeScript that currently requires an awful hack to workaround, so this might not get in shortly.
@sergey-morenets We should be able to support this structure. I don’t think it will be in the next build though.