Unexpected value ‘undefined’ declared by the module ‘AppModule’

I got the same error , sometimes this issue occur and you only need to re-run the server using ng serve or whatever CLI you use , as mentioned here

Leave a Comment