i have the same problem and solved it by removing the node_module folder and pakage-lock.json file
Remove-Item -Recurse -Force node_modules to remove node_module folder
Remove-Item -Recurse -Force package-lock.json to remove package-lock.json file
then install them again by npm install