I use CLI to run command npm build but it is not working
npm build
Use ng build --prod instead of npm build