-
Notifications
You must be signed in to change notification settings - Fork 547
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
Issue Downgrading from Crawlee 3.7.2 to 3.4.0 - Persistent Version and TypeScript Errors #2279
Comments
The builds errors should be fixed in master, cc @vladfrangu We cant do much about old versions, as they are already published, but the issue you are referring to (with downgrades) is already fixed in the latest versions, as we pin the internal dependencies (see #2040) - it was fixed in v3.5.3 if I am not mistaken. |
What version of TS are you using? IIRC you need 5.3 now. |
I'm using |
Because you use |
Try using latest version with TS 5.3, alternatively you can use |
Oh I get it, so it does not matter that in my project I'm using |
lol, its caret symbol, not carrot :P yeah exactly, fyi you can get around that with older versions via npm overrides (or yarn resolutions), or by installing the |
Yeah, I meant caret of course haha :D Thanks for quick help! :) |
Which package is this bug report for? If unsure which one to select, leave blank
@crawlee/http (HttpCrawler)
Issue description
Description
I recently updated Crawlee to version
3.7.2
in my project'spackage.json
and encountered a TypeScript error during the build process. To resolve this, I attempted to downgrade back to version3.4.0
. However, despite modifyingpackage.json
and trying various methods to reset the environment, Crawlee remains at version3.7.2
, and the TypeScript error persists.Steps to Reproduce
package.json
to3.7.2
and run npm install.3.4.0
by changingpackage.json
.package-lock.json
andnode_modules
, then runnpm install
ornpm ci
. Crawlee stays at3.7.2
.npm cache clean --force
), trying intermediate versions (3.5.0, 3.6.0), but issue persists.Expected Behavior
After changing the version in
package.json
and clearing the node environment (removingnode_modules
,package-lock.json
, clearing cache), Crawlee should downgrade to the specified version (3.4.0 in this case).Actual Behavior
Crawlee remains at version 3.7.2 after downgrading attempts. TypeScript error encountered during build:
The only version that I was able to downgrade are:
3.7.0
- same error like in3.7.2
case3.6.1
- other error still unable to buildThis is command im using to build:
"build": "tsc --project tsconfig.build.json && tsc-alias --project tsconfig.build.json && echo 'Build complete'"
my package.json version:
"crawlee": "3.4.0", event thought in
node_modules/@crawlee/http/package.json
version points to3.7.2
(in case of3.7.0
,3.6.1
it points to correct version but there is still error when building the project)Code sample
Package version
3.4.0
Node.js version
Operating system
all of them
Apify platform
I have tested this on the
next
release3.4.0, 3.4.1, 3.5.0 etc.
Other context
No response
The text was updated successfully, but these errors were encountered: