Skip to content

TypeError: Cannot read properties of null (reading 'type') #459

@mquadrant

Description

@mquadrant

I am getting error when running the scrapper function in a cron, and throw the error at the second run.

TypeError: Cannot read properties of null (reading 'type') at Object.createResource

async function secretAgentFunction({ url }) {
    await agent.goto(url);
    console.log('Running ----- ', url)
    await agent.close();
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions