分别执行以下命令: npm cache clean --force npm config set strict-ssl false npm install 如有必要更新npm再试 npm install -g npm@latest