node-modules / address

Get current machine IP and MAC address.
Other
233 stars 32 forks source link

get mac address error: Error: Command failed: /bin/sh: ifconfig: command not found #5

Closed fengmk2 closed 2 months ago

fengmk2 commented 10 years ago
get mac address error: Error: Command failed: /bin/sh: ifconfig: command not found

    at ChildProcess.exithandler (child_process.js:540:15)
    at ChildProcess.EventEmitter.emit (events.js:99:17)
    at maybeClose (child_process.js:638:16)
    at Socket.ChildProcess.spawn.stdin (child_process.js:815:11)
    at Socket.EventEmitter.emit (events.js:96:17)
    at Socket._destroy.destroyed (net.js:357:10)
    at process.startup.processNextTick.process._tickCallback (node.js:244:9)
get mac address: undefined
geosmart commented 10 years ago

require is not defined