Sometimes, such errors occur as a result of incorrect assembly. Most likely angular using a webpack just made changes with an error.
Try to delete the .angular folder,
then run the
npm install
command and run the project with the usual command:
ng serve --open
If there is an error, try clearing the cache, or running your IDE as administrator.