Failed to set up Chromium r1045629! Set "PUPPETEER_SKIP_DOWNLOAD" env variable to skip download.
Failed to set up Chromium r1045629! Set "PUPPETEER_SKIP_DOWNLOAD" env variable to skip download.
这个错误在网上有很多不同的情况和解决方法,有人说换源、有人说设置环境变量,这里有一篇参考文章https://stackoverflow.com/questions/63187371/puppeteer-is-not-able-to-install-error-failed-to-set-up-chromium-r782078-set
我的解决方法是使用命令重新安装:
npm install --ignore-scripts puppeteer