Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
spidy0x0 opened this issue May 2, 2022 · 1 comment
Open

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

spidy0x0 opened this issue May 2, 2022 · 1 comment

Comments

@spidy0x0
Copy link

spidy0x0 commented May 2, 2022

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?

@ngethe
Copy link

ngethe commented Sep 12, 2023

getting the same error what could be the issue ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants