Skip to content

Cannot read properties of undefined (reading 'raw') #44

@spidy0x0

Description

@spidy0x0

hi, i just installed this and whenever i run this

var modem = require('modem').Modem();

modem.open("/dev/sg1", function(err){
    if(err){
    throw err;
    }else{
    console.log("Modem is ready");
    }
})

i get this error

../node_modules/modem/lib/modem.js:84
            parser: sp.parsers.raw
                               ^

TypeError: Cannot read properties of undefined (reading 'raw')

Any solution?

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