I have an Angular4 application (which was automatically generated by hyperledger composer).
I installed angular/animations using the following command:
npm install --save @angular/[email protected]
I received the following warning:
@angular/[email protected] requires a peer of @angular/[email protected] but none is installed. You must install peer dependencies yourself.
This warning warning made no sense because Angular/[email protected] is installed (screenshot of package.json file):
Anyway ... When running the app, everything looks fine in the browser. But in the console, the following error message is displayed:
Error: Found the synthetic property @transitionMessages. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.
After importing the BrowserAnimationsModule, however, the whole app break down.
In the browser, the following error message is displayed:
How can I fix this?