-
Notifications
You must be signed in to change notification settings - Fork 12k
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
f.Observable.defer is not a function --build-optimizer #7114
Comments
getting same issue with 1.3.0-rc.1 using same angular2-jwt Edit: worth checking out the angular2-jwt beta that uses interceptors and the new 4.3 http lib. No more use of defer either. |
This is indeed a problem with the build optimizer, related to angular/devkit#51. Will fix. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Bug Report or Feature Request (mark with an
x
)Versions.
@angular/cli: 1.3.0-rc.0
node: 8.0.0
os: win32 x64
Repro steps.
npm --prod --build-optimizer
Build is working without any issues
Starting the app I got a runtime exception
angular: 4.3.1
angular-material: 2.0.0-beta.8
using it without --build-optimizer it works without any issues
the defer is comming from angular-jwt
https://github.com/auth0/angular2-jwt/blob/435b8fc48415e57da40a788777a53ba37c906620/angular2-jwt.ts
but it's imported correctly there. I'm not sure why it's not working.
The log given by the failure.
Desired functionality.
Mention any other details that might be useful.
The text was updated successfully, but these errors were encountered: