Skip to content

Error "data.substring is not a function" #16

@tranchau1991

Description

@tranchau1991

node_modules\node-html-parser\dist\index.js:576
const text = data.substring(lastTextPos, kMarkupPattern.lastIndex - match[0].len
gth);
^
TypeError: data.substring is not a function
at Object.parse (D:\xampp\htdocs\nodejs\parse\node_modules\node-html-parser\dist\index.js:57
6:35)
at D:\xampp\htdocs\nodejs\parse\index.js:92:25
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:511:3)

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