Ming Qin (22) [Avatar] Offline
#1
khtan (65) [Avatar] Offline
#2
I solved this by deleting the package-lock.json from the repo, and regenerated the node_modules with npm install. Now, ng build runs without compilation errors.
Jesse Palmer (44) [Avatar] Offline
#3
Thanks, @khtan! running 'rm -rf node-modules' and then 'npm i' should do the trick as well.