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

Start error TypeError: Cannot read property 'toLowerCase' of undefined #2

Open
hbrks opened this issue Jan 28, 2019 · 1 comment
Open
Assignees
Labels

Comments

@hbrks
Copy link

hbrks commented Jan 28, 2019

lwmqn-demo/node_modules/mqtt-node/lib/init.js:189
qn.mac = info.mac_address.toLowerCase();
^

TypeError: Cannot read property 'toLowerCase' of undefined
at /home/hbrks/DEV/lwmqn-demo/node_modules/mqtt-node/lib/init.js:189:43
at /home/hbrks/DEV/lwmqn-demo/node_modules/network/lib/index.js:113:11
at ChildProcess.exithandler (child_process.js:265:7)
at ChildProcess.emit (events.js:180:13)
at maybeClose (internal/child_process.js:936:16)
at Socket.stream.socket.on (internal/child_process.js:353:11)
at Socket.emit (events.js:180:13)
at Pipe._handle.close [as _onclose] (net.js:541:12)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: cross-env NODE_ENV=production node main
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/hbrks/.npm/_logs/2019-01-28T11_57_13_055Z-debug.log

2019-01-28T11_57_13_055Z-debug.log

@amer8
Copy link
Contributor

amer8 commented May 22, 2019

@hbrks thanks for the error report. we have to update the dependency mqtt-shepherd first, as its build is broken on 9.x and later..
Until then you can run lwmqn-demo on 8.x without problems.

@amer8 amer8 self-assigned this May 22, 2019
@amer8 amer8 added the bug label Jun 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants