Closed ahmedmz877 closed 1 month ago
How do you call the patcher? This package has puppeteer
as a dependency, so you should use different packagePath
when you run the script. You need to find where is puppeteer
folder inside your project.
npx rebrowser-patches patch --packagePath ./node_modules/puppeteer-real-browser
So, after you run npm i puppeteer-real-browser
, it will install all deps, so your actual puppeteer code will be in ./node_modules/puppeteer-core
, you can use this path for the patcher.
I actually used this command npx rebrowser-patches patch --packagePath /YT_uploader/node_modules/puppeteer-core
and receiving below error.
@thiyagarajanp98 - this means you don't have patch
command installed. You need to install it in your OS, or inside the docker container.
I actually used this command
npx rebrowser-patches patch --packagePath /YT_uploader/node_modules/puppeteer-core
and receiving below error.
Use https://git-scm.com/downloads to install the patch
still not working
still not working
use this in YT_uploader run npx rebrowser-patches patch --packagePath ./node_modules/puppeteer-core
FATAL ERROR: Package name is "puppeteer-real-browser", but we're looking for "puppeteer-core". Check your package path i am using https://github.com/zfcsoftware/puppeteer-real-browser/ how can i use the patch with it please