hypercore-protocol / hyperdrive-daemon

Hyperdrive, batteries included.
MIT License
156 stars 23 forks source link

Windows doesn't support process.get* #81

Closed juliangruber closed 4 years ago

juliangruber commented 4 years ago

See https://nodejs.org/api/process.html#process_process_getegid: Windows doesn't support process.getegid etc.

This is running Git Bash on Windows 10:

$ npm install -g hyperdrive-daemon
$ hyperdrive status
FUSE is not available on your platform.
(node:7292) TypeError Plugin: hyperdrive-daemon: undefined is not a function
module: @oclif/config@1.16.0
task: toCached
plugin: hyperdrive-daemon
root: C:\Users\Julian\AppData\Roaming\npm\node_modules\hyperdrive-daemon
See more details with DEBUG=*
(Use `node --trace-warnings ...` to show where the warning was created)
The Hyperdrive daemon is not running.
$ DEBUG=* hyperdrive status
...
TypeError Plugin: hyperdrive-daemon: undefined is not a function
    at Function.<static_fields_initializer> (C:\Users\Julian\AppData\Roaming\npm\node_modules\hyperdrive-daemon\bin\commands\fuse-setup.js:18:24)
    at Object.<anonymous> (C:\Users\Julian\AppData\Roaming\npm\node_modules\hyperdrive-daemon\bin\commands\fuse-setup.js:11:28)
    at Module._compile (internal/modules/cjs/loader.js:1201:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1221:10)
    at Module.load (internal/modules/cjs/loader.js:1050:32)
    at Function.Module._load (internal/modules/cjs/loader.js:938:14)
    at Module.require (internal/modules/cjs/loader.js:1090:19)
    at require (internal/modules/cjs/helpers.js:75:18)
    at fetch (C:\Users\Julian\AppData\Roaming\npm\node_modules\hyperdrive-daemon\node_modules\@oclif\config\lib\plugin.js:170:21)
    at Plugin.findCommand (C:\Users\Julian\AppData\Roaming\npm\node_modules\hyperdrive-daemon\node_modules\@oclif\config\lib\plugin.js:184:21)
...