I had this error after
npm audit
found vulnerabilities in the version of @angular-devkit/build-angular
that I was using. I ran npm audit fix
which updated it to 0.900.2
, but when I ran ng serve
it gave the error quoted in the question.
I resolved it by downgrading to version
0.803.25
. This was the highest version I could find which did not cause any errors when running ng serve
. The vulnerabilities found by npm audit
are resolved in this version.
This is the command I ran:
npm i @angular-devkit/build-angular@0.803.25
Không có nhận xét nào:
Đăng nhận xét