Replies: 1 comment
-
|
UPDATE: I think this is an error in my environment. Hope this can help someone else. I think I globally installed typescript as well as locally in my project. Thus there was a version conflict as
If I run instead with tl;dr The docs could still benefit from clarity of the required min version of TS. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Which package is this bug report for? If unsure which one to select, leave blank
None
Issue description
This seems related to #2279
Running
tscI get errors including:To reproduce:
rm -rf package-lock.json node_modulesnpm installnpm install crawlee playwright playwright-extra puppeteer-extra-plugin-stealth @crawlee/typestscNote this is my tsconfig, note how it has exclude for node_modules as well as
skipLibCheck true(though may not apply because of microsoft/TypeScript#41883)When I run
npm install crawlee playwright playwright-extra puppeteer-extra-plugin-stealth @crawlee/typesit installs versions as follows, in package.json:Of note:
I have looked for explicit dependency requirements for typescript/other libraries that Crawlee needs to be within but didn't see anything on https://crawlee.dev/docs/upgrading/upgrading-to-v3 or https://crawlee.dev/api/core/changelog though #2279 suggested you need 5.3 in a comment (where is that documented?)
Code sample
No response
Package version
crawlee 3.8.1, others listed above
Node.js version
v21.4.0
Operating system
macos
Apify platform
I have tested this on the
nextreleaseNo response
Other context
No response
Beta Was this translation helpful? Give feedback.
All reactions