You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
exit status 1 module.js:549 throw err; ^ Error: Cannot find module 'puppeteer' at Function.Module._resolveFilename (module.js:547:15) at Function.Module._load (module.js:474:25) at Module.require (module.js:596:17) at require (internal/module.js:11:18) at Object. (/www/wwwroot/172.16.11.85/test.js:2:19) at Module._compile (module.js:652:30) at Object.Module._extensions..js (module.js:663:10) at Module.load (module.js:565:32) at tryModuleLoad (module.js:505:12) at Function.Module._load (module.js:497:3)
Activity
zining3235 commentedon May 21, 2022
谷歌浏览器,用于发布内容的时候渲染未被渲染的markdown。建议安装最新版的Chrome浏览器,并把Chrome浏览器加入系统环境变量。
使用Chrome的headless去处理。之前考虑使用phantomjs的,但是phantomjs有些小问题,不如Chrome强大。
chrome= chromium
chrome=/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome
chrome=/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome
chrome= chromium
如果使用 puppeteer,则忽略chrome
puppeteer = false
Yuelioi commentedon Dec 3, 2022
chrome安装步骤那里 不是有个让你打印百度页面么 不成功说明你chrome不行 重安chrome
注: 安之前 请给yum换源(比如阿里源) 不然因为魔法原因 概率安不上(我换源后就能安了)?