Is it normal to wait a long time to install puppeteer using yarn?

is it normal to use yarn to install puppeteer for a long time?
Building fresh packages did not respond after running for a long time:

 yarn add puppeteer
yarn add v1.12.3
info No lockfile found.
[1/5] Validating package.json...
[2/5] Resolving packages...
//...
[5/5] Building fresh packages...
[-/3]  waiting...
[2/3]  preact
[3/3]  puppeteer
Nov.04,2021

compile browser


can be changed to taobao source
yarn config set registry https://registry.npm.taobao.org


it is normal for puppeteer to download slowly or fail to connect to the build, of google host's chrome by default.

you can use puppeteer-core instead and assign a chrome to it

.

try to set yarn's warehouse to taobao, but you can do this:

use cnpm to install the specified version of puppeteer in package.json, and then yarn install

Menu