Apify Discord Mirror

Updated 5 months ago

Apify Help Forum! Read before posting!

At a glance

The post welcomes community members to the Apify Help Forum, where they can ask questions, share code snippets, and engage with others. It provides guidance on formatting code snippets using single and triple back-ticks, as well as specifying the language for syntax highlighting.

In the comments, a community member shares an issue they encountered when creating an actor using @crawlee/cheerio. They mention encountering errors related to TS2307 and TS2339, and that updating the Apify CLI and creating a new Cheerio TS project resolved the build issue, but now they are facing problems running older (SDK v2) actors locally. The community member suspects the issue is related to the Apify CLI update.

Another community member suggests the user should make a new post instead of asking in the comments, and a third community member advises that questions about specific actors from the Apify Store should be asked in the Issues tab of the respective actor in the Apify Console, rather than on the Discord channel.

There is no explicitly marked answer in the provided information.

Welcome to the Apify Help Forum! Here, you can ask questions about developing on the Apify platform, using Apify services, share code snippets, and engage with or help other community members

In order to keep things organized, we recommend attaching a tag to your posts to help others understand what it is about!

IF YOU ARE POSTING CODE SNIPPETS:
Please format your code accordingly! You can use single back-ticks to format small lines of code such as variables or method calls, and three back-ticks to format a large chunk of code!

const request = 'Please format your code snippets'

Plain Text
const foo = async () => {
    const baz = await bar();
    if (baz) return 'fizz';
    return 'fuzz'
};


You can also specify the language the code it is for some syntax highlighting:

Plain Text
const foo = async () => {
    const baz = await bar();
    if (baz) return 'fizz';
    return 'fuzz'
};


See examples in the image below.
Attachment
Screen_Shot_2022-09-16_at_12.17.56.png
e
t
L
3 comments
Hi, I create an actor using @crawlee/cheerio after uploading to console it didn't even build and trows me an error related to TS2307 and TS2339. Then i update my apify cli create a new project, now with Cheerio TS project, copy and pasted my src file and uploaded to apify, then it biild fine and it's working but now when I try to run older (sdk v2) actors in local they give weird errors and my apify-storage folder is renamed to storage. I think the issue is related to the update in the apify-cli
Hi, please make a post instead of asking in the comments of this one πŸ˜„
All questions about specific actors from Apify Store should be asked in the Issues tab of the respective actor in the Apify Console, not here on Discord. This way you reach out to the dev directly.
Add a reply
Sign up and join the conversation on Discord