Closed cibulka closed 1 year ago
This is a issue with cacheable-request
/ got
, so there isn't much I can do. I am working on a rewrite that replaces got
with the fetch API. (Which does not use keyv
as far as I can tell)
Cool, thank you! :)
open-graph-scraper@6.0.0
is now live and no longer uses keyv
.
Describe the bug Anytime
openGraphScraper
is used on Next.js used environment, it creates the following warning in console:This is a know issue with
keyv
. The authors of the library claim that it is not a problem and recommend to "close your eyes while the warning's on the screen.", so I don't think this will be fixed.Unfortunately this issue creates problem on several environments, namely Next.js hosted on Vercel, as described by this comment:
To Reproduce Install
openGraphScraper
on Next.js and call it, either in component or on an api route.Expected behavior Ideally replace
keyv
with different dependency.So to put it shortly - would it be possible to replace
keyv
with a different library that does not create errors on use?Thank you!