im running angular2 rc 5 all doing fine until im restart my pc and doing npm start again, before restart pc everything working fine
when im try to start my project again there is an error saying that ,
node_modules/@angular/platform-browser/index has no exported member 'DomSanitizer'
im already try to reinstall the package and copy paste the @angular file from another quickstart that working but still fail with the same error
i guess its something wrong with my @angular/platform-browser but i still cant figure it out
If you are using angular2 RC5 use this-
If you are moving to angular2 RC6 use this-
Reference: https://github.com/angular/angular/pull/11085
See if this helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With