Apify and Crawlee Official Forum

Updated last year

Bug with typescript

I installed using templates (typescript example and playwright typescript example) on multiple operating systems (windows & ubuntu via vmware) and ran into the error "state.conditions.includes is not a function). I tested the basic js template and had no issue.

I went back to the ts project and updated to latest typescript(5.3.2) and tried again, same error. I then installed 5.1.6 and it worked.
A
1 comment
Hey there! thanks for the report! There's an issue with the latest TS, it was reported by our team to TS directly. For now earlier TS version should work - pretty sure not only 5.1, but 5.2 should also work
Add a reply
Sign up and join the conversation on Discord