node-browser-history fails on Linux
The node-browser-history
dependency isn’t supported on Linux, so the start
npm command fails with this error:
Uncaught Exception:
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
at validateString (internal/validators.js:124:11)
at Object.join (path.js:1039:7)
at Object.<anonymous> (/home/kev/development/Kev/gitdock/node_modules/node-browser-history/browsers.js:46:25)
at Module._compile (internal/modules/cjs/loader.js:1078:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1108:10)
at Module.load (internal/modules/cjs/loader.js:935:32)
at Module._load (internal/modules/cjs/loader.js:776:14)
at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
at Module.require (internal/modules/cjs/loader.js:959:19)
at require (internal/modules/cjs/helpers.js:88:18)
I also raised an issue at node-browser-history
to maybe just not return results. https://github.com/MyOutDeskLLC/node-browser-history/issues/15
Edited by Kev