voxel / voxel-clientmc

Minecraft client using WebSockets and voxel-engine (voxel.js plugin)
57 stars 13 forks source link

node-macaddress: Unkown[sic] os.platform(), defaulting to `unix'. #17

Open deathcap opened 8 years ago

deathcap commented 8 years ago

Observed on the console log:

pyramid= [View3duint8, View3duint8, View3duint8, View3duint8, View3duint8, View3duint8]
blob::134811 node-macaddress: Unkown os.platform(), defaulting to `unix'.
blob::186304 mf-worker initializing DedicatedWorkerGlobalScope {__core-js_shared__: Object, undefined: undefined, Infinity: Infinity, Math: Math, NaN: NaN…}

https://www.npmjs.com/package/macaddress dependency of https://www.npmjs.com/package/uuid-1345 (features: "Actually uses your MAC address for v1 UUIDs"), used by node-minecraft-protocol (previously used 3 separate uuid/guid libraries: https://github.com/PrismarineJS/node-minecraft-protocol/issues/297 - but now only one, uuid-1345)

Not a big deal, this is only a (misspelled) warning, but might be nice to fix it - definitely no need for MAC addresses, or v1 UUIDs for that matter, in the browser

deathcap commented 8 years ago

Looks like this warning may be fixed by the deferred loading added in uuid-1345: https://github.com/scravy/uuid-1345/pull/1