I have updated the angular packages version from 2.4.10 to 4.0.0 after updating i am getting the following errors while navigating.
ERROR Error: Uncaught (in promise): Error: Found the synthetic property @transformPlaceholder. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.
Error: Found the synthetic property @transformPlaceholder. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application
And i changed the webpack.common.js configuration. see the below code
new webpack.ContextReplacementPlugin(
// The (\|/) piece accounts for path separators in *nix and Windows
/angular(\|/)core(\|/)@angular/,
helpers.root('./src'), // location of your src
{} // a map of your routes
),
question from:
https://stackoverflow.com/questions/42994337/navigation-error-in-angular2 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…