-
Notifications
You must be signed in to change notification settings - Fork 19
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
Actor.getInput returns null #586
Comments
cc @vladfrangu, sounds like we now wipe the |
FYI @tugkan you should no longer need the |
@B4nan Thank you. I might be wrong but I recently simulated the migration event by running |
How were you doing that? I wasn't aware If you press |
@B4nan It is not a direct simulation but we were doing something like this:
|
Yeah, but that's crawlee doing this, not the CLI. Alternative to this is using https://github.com/apify/apify-cli/blob/master/src/commands/run.ts#L149-L164 |
@B4nan Gotcha! Thank you. |
+1, also hit by this. Additionally, this is printed before the
However, running without
right after Actor.init() in a new project, created by
Imo this is quite serious breakage - neither Crawlee 3.10.5, cli 0.20.0 |
Lines 151 to 166 in 73df448
|
That is correct right now, and will be cleaned up proper once #590 is done |
aha, I see (now I vaguely remember I was already reporting something about that) But if this is the case, then let's not reply to issues that So until #591 is released, the two options that work as they should (and will stay the same after #590) are:
Is that correct? |
I think it needs to be Btw I was saying The |
After the latest release, the
await Actor.getInput()
functionality got broken. It returnsnull
and cannot retrieve the input field properly.apify run -p
command breaks thegetInput
function.npm run src/main.js
returns properly. Possibly some lib clash is happening.Apify CLI version:
apify-cli/0.20.0 darwin-arm64 node-v18.17.1
apify
lib version:3.2.3
crawlee
version:3.5.4
Also, I tried scaffolding the project by using the
apify
CLI tool but can reproduce the error still.The text was updated successfully, but these errors were encountered: