-
Notifications
You must be signed in to change notification settings - Fork 2k
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
error TS2322 #151
Comments
Hey, also having this issue. Any updates on a potential fix?
|
Same error here, the newest build seems to be broken. |
v1.3.0 seems to work fine for me. https://github.com/BuilderIO/gpt-crawler/archive/refs/tags/v1.3.0.zip |
I have the same issue if I update the dependancies with a "npm update/upgrade", otherwise, it works well. |
Can confirm that this also happens to me on latest version. I have a temporary fix; unsure if this is correct though because so many I found out that this happens because the Zod schema for the Config file (in the Therefore, I fixed it in the onVisitPage: z
.function()
.args(
z.object({
page: Page,
pushData: z.function().args(z.any(), z.any().optional()).returns(z.promise(z.void())), // Two function args
}),
)
.returns(z.promise(z.void()))
.optional(), |
Anyone receiving this error message? Trying to run on Windows.
This is the config I am using to test:
The text was updated successfully, but these errors were encountered: