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

URL error #114

Open
keithschm opened this issue Feb 26, 2018 · 3 comments
Open

URL error #114

keithschm opened this issue Feb 26, 2018 · 3 comments

Comments

@keithschm
Copy link

anyone else have this?

TypeError: Parameter "url" must be a string, not undefined at Url.parse (url.js:103:11) at Object.urlParse [as parse] (url.js:97:13) at doRequest (/home/dasher/lib/dasher.js:61:14) at Readable.<anonymous> (/home/dasher/lib/dasher.js:31:7) at emitOne (events.js:116:13) at Readable.emit (events.js:211:7) at PcapSession.<anonymous> (/home/dasher/node_modules/node-dash-button/index.js:87:28) at emitOne (events.js:116:13) at PcapSession.emit (events.js:211:7) at PcapSession.on_packet_ready (/home/dasher/node_modules/pcap/pcap.js:99:10)

@maddox
Copy link
Owner

maddox commented Feb 26, 2018 via email

@keithschm
Copy link
Author

I removed private info and replaced with -

`{"buttons":[
{
"name": "Debug Dash Button",
"address": "f0:27:2d:d0:1b:e9",
"debug": true
},

{
"name": "ifttt",
"address": "f0:27:2d:d0:1b:e9",
"url": "https://maker.ifttt.com/trigger/--------/with/key/---------------",
"method": "POST",
"debug": false
}
]}
`

@keithschm
Copy link
Author

It is odd. If I hard code the urlin the dasher.js file it works fine.

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