apify-sdk-js icon indicating copy to clipboard operation
apify-sdk-js copied to clipboard

Warn about SDK vs crawlee version mismatch

Open B4nan opened this issue 2 years ago • 0 comments

Since the SDK depends on crawlee, users might configure their dependencies so those two don't fit each other, which ends up with multiple @crawlee/core installs, which in turn might cause weird issues, since there will be two global configs. This could potentially result in the crawlee storage methods (like Dataset.pushData) working with the memory storage even when on platform.

We should validate this in the Actor.init call, there needs to be a single crawlee installation.

B4nan avatar Oct 05 '23 10:10 B4nan