40

ERROR: Could not find browser revision

 3 years ago
source link: https://www.bugcatt.com/archives/2596
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

阿航

2020年12月16日

0

ERROR: Could not find browser revision

在使用npm进行开发时, 出现了报错

...
PuppetPuppeteerBridge start() exception: Error: Could not find browser revision 818858. Run "PUPPETEER_PRODUCT=firefox npm install" or "PUPPETEER_PRODUCT=firefox yarn install" to download a supported Firefox browser binary.
...

解决方案:

  1. 删除项目目录中的node_modules文件
  2. 重新运行npm install

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK