You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've just tried to update my project to Angular 5.1 from Angular 5.0 and I received this message when compiled it with cli's prod build mode:
ERROR in ngx-clipboard/src/index.ts(14,17): Error during template compile of 'ClipboardModule'
Function calls are not supported in decorators but 'InjectionToken' was called in 'CLIPBOARD_SERVICE_PROVIDER'
'CLIPBOARD_SERVICE_PROVIDER' references 'WINDOW' at ngx-clipboard/src/clipboard.service.ts(106,22)
'WINDOW' references 'WINDOW'
'WINDOW' calls 'InjectionToken'.
Can you fix this issue?
The text was updated successfully, but these errors were encountered:
Hi,
I've just tried to update my project to Angular 5.1 from Angular 5.0 and I received this message when compiled it with cli's prod build mode:
Can you fix this issue?
The text was updated successfully, but these errors were encountered: