Found the solution in another Question: by using "npm config set script-shell powershell" fixed the problem