hypercore-protocol / hyperdrive-daemon

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

mount path mismatch #21

Closed edrex closed 4 years ago

edrex commented 4 years ago
❯ hyperdrive fs mount
Mounted a drive with the following info:

  Mountpoint: /home/eric/Hyperdrive 
...

However, the actual mountpoint is /hyperdrive. Additionally,

❯ cd /hyperdrive                                
❯ hyperdrive fs mount how-to-dweb 3e2b381627df0d670bdb2c5e45ac851225266836aba0c5f727261669f47c91dc 
Could not mount the drive:
Error: You can only mount drives underneath the root drive at /home/eric/Hyperdrive/home

This path has an additional /home component which is extra weird.

edrex commented 4 years ago

This only happens on the master branch, but works correctly on npm @beta tag (see #20). Guessing a mismatch between default path in hyperdrive-daemon and the current version of some dependency (maybe hyperdrive).

Maybe this is only happening because running from master requires manually checking out the right branches for dependencies? Feel free to close if it's just operator error.

edrex commented 4 years ago

i'm just going to close this since it's likely some wires crossed from the multiple versions I had flying around.