Angular : npm start failed with error TS2305: Has no exported member 'SafeJsonPipe'
miltonmateus opened this issue · 2 comments
miltonmateus commented
ng Serve don't work and gives this error
ERROR in src/app/app.module.ts(7,10): error TS2305: Module '"C:/Users/mateu/OneDrive/Documentos/South System Projects/mlt-sandbox/node_modules/@angular/common/common"' has no exported member 'SafeJsonPipe'.
any way of how can i fix this?
just lost my work trying to fix.
NgocAnh-WD commented
I was having the same error and I find a great solution when I'm looking for a way to fix it. I think it can help you. Good luck.
#170
gustavogialim commented
Have you tried deleting the node_modules folder and running npm install again?
Try changing the angled version too if the above solution is not right.