Skip to content

Invalid JSON (Unexpected "T" at position 0 in state STOP) #3

@dyangcoding

Description

@dyangcoding

Hey, i got the mentioned error message following the example code
var dependents = require('module-dependents'); dependents('zlib', {raw: true}).on('data', function(dependents) { console.log(dependents.name); })
I've also tried to clone the project and run the test.js locally which produces the same error message.
Can you take a look and thanks in advance. I'm using node 16. I'd add more details if you need anything else.

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