Skip to content
This repository was archived by the owner on Nov 28, 2023. It is now read-only.
This repository was archived by the owner on Nov 28, 2023. It is now read-only.

$ is not a function #15

@ANALKH-DY

Description

@ANALKH-DY

when i run command like dict hello

then it show me an error:
TypeError: $ is not a function

after reading your code , i solved this problem.
source.js 1:1

const $ = require('cheerio')
change to
const $ = require('cheerio').load

so it worked!

but i really want to know what reason causes you to remove .load

i hope you reply me

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions