可能由于版本更新的原因导致的
可以npm install一下,如果还不可以,重新安装一次,在把之前装的都清空
rm -rf node_modules rm package-lock.json npm cache clear --force npm install