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

실행 오류 문의 드립니다. #4

Open
hjjeon0608 opened this issue Jul 2, 2018 · 0 comments
Open

실행 오류 문의 드립니다. #4

hjjeon0608 opened this issue Jul 2, 2018 · 0 comments

Comments

@hjjeon0608
Copy link

실행시 오류가 발생하여 이렇게 문의를 드립니다.

/home/pi/make-mi-air-purifier-great-again/index.js:18
      if (address && token && model.includes('airpurifier') && !deviceIPs.includes(address)) {
                                    ^

TypeError: Cannot read property 'includes' of undefined
    at EventEmitter.browser.on.reg (/home/pi/make-mi-air-purifier-great-again/index.js:18:37)
    at EventEmitter.emit (/home/pi/make-mi-air-purifier-great-again/node_modules/eventemitter3/index.js:130:35)
    at Browser.[addService] (/home/pi/make-mi-air-purifier-great-again/node_modules/tinkerhub-discovery/lib/basic.js:82:17)
    at add (/home/pi/make-mi-air-purifier-great-again/node_modules/miio/lib/discovery.js:67:37)
    at GetNameInfoReqWrap.dns.lookupService [as callback] (/home/pi/make-mi-air-purifier-great-again/node_modules/miio/lib/discovery.js:74:5)
    at GetNameInfoReqWrap.onlookupservice [as oncomplete] (dns.js:171:17)

위와같은 오류가 발생합니다. 혹시 해결방안이 있는지 문의 드립니다.
감사합니다.

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

1 participant