-
Notifications
You must be signed in to change notification settings - Fork 27.1k
Closed
Milestone
Description
🐞 bug report
Affected Package
The issue is caused by package @angular/....Is this a regression?
Yes
Description
A clear and concise description of the problem...When using Ivy/ngcc with angular-in-memory-api version 0.8.0, the app does not compile and emits an error.
The app currently works under V7 and V8 without Ivy with no issues.
🔬 Minimal Reproduction
https://github.com/brandonroberts/ivy-in-memoryInstructions to reproduce are in the README
🔥 Exception or Error
```
ERROR in Value at position 4 in imports array is not a reference: [object Object]
```
🌍 Your Environment
Angular Version:
Angular CLI: 7.1.4
Node: 10.14.2
OS: linux x64
Angular: 8.0.0-beta.3
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router
Package Version
-----------------------------------------------------------
@angular-devkit/architect 0.11.4
@angular-devkit/build-angular 0.11.4
@angular-devkit/build-optimizer 0.11.4
@angular-devkit/build-webpack 0.11.4
@angular-devkit/core 7.1.4
@angular-devkit/schematics 7.1.4
@angular/cli 7.1.4
@ngtools/webpack 7.1.4
@schematics/angular 7.1.4
@schematics/update 0.11.4
rxjs 6.3.3
typescript 3.1.6
webpack 4.23.1
Anything else relevant?
I did an additional build of angular-in-memory-web-api with ng-packagr and 8.0.0-beta.3 and the app works correctly under Ivy/ngcc.
Build repo is here: https://github.com/brandonroberts/in-memory-web-api-bazel
Build branch is here: https://github.com/brandonroberts/in-memory-web-api/tree/ng-packagr-build
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels