Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法找到puppeteer的执行路径 #47

Closed
MFamilys opened this issue Dec 12, 2022 · 11 comments
Closed

无法找到puppeteer的执行路径 #47

MFamilys opened this issue Dec 12, 2022 · 11 comments

Comments

@MFamilys
Copy link

安装依赖成功,运行npm run dev 时报错:'Error: An executablePath or channel must be specified for puppeteer-core\n'

@wangrongding
Copy link
Owner

可能依赖安装不成功,切到 taobao 镜像源,删除 node_modules ,再重新安装试试;
推荐使用我的 prm-cli 工具切换。

@RickWashon
Copy link

我也出现了这个问题,但是我之前用的好好的,然后退出登录后,就出现这个问题了。重新安装也没用,用博主说的这个方法也没用。下载了新的wechat-bot也没用

@ImmortalBro
Copy link

是的,我也出现这个问题了, windows node 版本为:v18.12.1

@xiaoqian97
Copy link

我也是这样,反复安装依赖也都不行,node版本也是18.12.1

@Reckless1998
Copy link

删了 node_modules 后,切换到 taobao 源还是报 ERR PuppetWeChatBridge start() exception: Error: An executablePath or channel must be specified for puppeteer-core 找不到路径

@Pi-char
Copy link

Pi-char commented Dec 13, 2022

同也是这个问题,node版本 v19.2.0

@wangrongding
Copy link
Owner

你们都是什么操作系统?方便说一下吗?看到不少小伙伴都出现了这个问题

@xiaoqian97
Copy link

windows11

@OnePieceJoker
Copy link

macos 11.6.2
node version v18.11.0

@wangrongding
Copy link
Owner

先参考这个方案

#54 (comment)

@Reckless1998
Copy link

你们都是什么操作系统?方便说一下吗?看到不少小伙伴都出现了这个问题

macos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants