When I try to build my project running the following command:
ng build --environment=prod --aot=false --output-pa
faced same issue but solve such as by typing 1. npm link and then 2. ng serve if you still face issue then contact me...