Skip to content

Compile problem with @angular-devkit/build-angular 0.800.4 #14883

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
abadakhshan opened this issue Jun 25, 2019 · 2 comments
Closed

Compile problem with @angular-devkit/build-angular 0.800.4 #14883

abadakhshan opened this issue Jun 25, 2019 · 2 comments

Comments

@abadakhshan
Copy link

🐞 Bug report

Description

I have a problem with @angular-devkit/build-angular 0.800.4 while I did not it with previous version of @angular-devkit/build-angular

When I want to compile my project with ng serve I got this error

ERROR in ./src/app/modules/main/change-password/change-password.component.ts 56:12-21
"export 'DialogRef' was not found in 'narik-infrastructure'

and this is related to this line of code:

@Inject(DIALOG_REF) public dialog: DialogRef

DIALOG_REF is an injectionToken and DialogRef is a interface in external angular package.

I get this error only when I use DialogRef in constructor. If I use it as an usual declaration like
dialog: DialogRef i get no error.

You can see error on this repo: https://github.com/NarikMe/narik-material-demo
if you change @angular-devkit/build-angular version to "0.800.4"

abadakhshan added a commit to NarikMe/narik-devextreme-starter that referenced this issue Jun 25, 2019
abadakhshan added a commit to NarikMe/narik-devextreme-demo that referenced this issue Jun 25, 2019
@alan-agius4
Copy link
Collaborator

Duplicate of #14876

@alan-agius4 alan-agius4 marked this as a duplicate of #14876 Jun 25, 2019
abadakhshan added a commit to NarikMe/narik-material-demo that referenced this issue Jun 25, 2019
abadakhshan added a commit to NarikMe/narik-primeng-demo that referenced this issue Jun 25, 2019
abadakhshan added a commit to NarikMe/narik-ng-bootstrap-demo that referenced this issue Jun 25, 2019
abadakhshan added a commit to NarikMe/narik-nebular-demo that referenced this issue Jun 25, 2019
abadakhshan added a commit to NarikMe/narik-material-starter that referenced this issue Jun 25, 2019
abadakhshan added a commit to NarikMe/narik-material-demo-coreui-admin-template that referenced this issue Jun 25, 2019
abadakhshan added a commit to NarikMe/narik-material-demo-architectui-admin-template that referenced this issue Jun 25, 2019
@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants