-
-
Notifications
You must be signed in to change notification settings - Fork 732
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
[Bug] TypeError: utils.forOwn is not a function #690
Comments
+1 (same problem) |
Not sure if this is the root cause - the "clone-deep" package in one of the dependencies is at a pretty old version 0.2.4 and the error seems to be pointing to this line here https://github.com/jonschlinkert/clone-deep/blob/8ab50fb93db4eb9288a6a9b6042dbe3e9a1ac7fb/utils.js#L14, which looks like should be As a js n00b, I'm not sure how to fix or if it's something Typescript related. |
(same problem) any update? |
I worked around this by overriding the version of "clone-deep" in my
|
^^ The above fix works for me, though had to delete node_modules & package-lock.json |
I worked around this by overriding the version of "clone-deep" in my package.json when using yarn berry {
"resolutions": {
"clone-deep": "^4.0.1"
}
} |
+1 Need a fix here |
Adding I am using |
So I fixed this issue - what you need to do is force the resolutions of the
However, I'm still getting the error below; If you have any idea on how to solve my issue, I'd gladly take your recommendation. Cheers |
Thank you for your help @jeanhdev, unfortunately using Probably has an impact, I have to use Here is what in my
|
just add to your "dependencies": {,
"puppeteer": "^10.1.0",
"puppeteer-extra": "^3.3.4",
"puppeteer-extra-plugin-adblocker": "^2.13.4",
"puppeteer-extra-plugin-stealth": "^2.11.0",
}, |
hey @AdrKacz, did it manage to figure it out? I'm running into the same issue. Also using puppeteer-core |
No, I had to build my solution without |
clone-deep包是来自puppeteer-extra-plugin-stealth的依赖 |
Hi, I'm running into this strange bug when using
puppeteer-extra
,puppeteer-extra-plugin-stealth
with Typescript and the Serverless Framework. I will describe my setup and bug encountered below. I've tried a few things such as changing frompuppeteer-core
topuppeteer
, but didn't have any luck. I'm not sure if I missed anything obvious. Thanks for the help in advance!The full error message is below. The error throws when calling
puppeteerExtra.use(StealthPlugin());
. I tried other plugins such aspuppeteer-extra-plugin-adblocker
and the error persists so I don't think it's the issue with a specific plugin.Here is a simplified version of the code snippet in .ts
The relevant version of the libraries are below
The text was updated successfully, but these errors were encountered: