Comments (3)
I hit this same error on Windows 10 home. I believe it's caused by https://github.com/hypercore-protocol/cli/blob/master/lib/commands/drive/sync.js#L66 it's using the mkdirp NodeJS package 'sync' command, and according to https://www.npmjs.com/package/mkdirp:
"""windows vs unix caveat
On Windows file systems, attempts to create a root directory (ie, a drive letter or root UNC path) will fail. If the root directory exists, then it will fail with EPERM. """
And of course, EPERM is the exact error you and I are seeing on Windows.
I am not having any problems with hyp cli on Linux, but I'm trying to set up a hyp sync to back up my kids' files on their Windows gaming PCs.
from cli.
Thanks @Michael-S ! I think I'll open a PR for this.
from cli.
Cool! I'm too new to Node to solve this myself.
from cli.
Related Issues (20)
- --version not pulling from the correct package.json HOT 1
- Error on bee create HOT 1
- Minimum node version not enforced HOT 2
- Syntax Error HOT 5
- .datignore equivalent
- hyp sync/diff destroys contents of mounted drives
- Error: Block not available from peers HOT 3
- --yes option for scripted use HOT 1
- --only/--quiet/… option for hyp create HOT 4
- how to sync bee HOT 1
- "Unhandled 'error' event" when attempting to seed a hypercore which is neither drive nor bee
- Bee not seeding via CLI
- Daemon not detected when directly started from hyperspace HOT 5
- keep getting "the daemon is not active" even after running hyp daemon start HOT 18
- `hyp drive sync . -y` crashes with heap out of memory allocation failure HOT 1
- hyp drive http default port clash with ipfs
- Error when syncing folder with symlink
- Cannot use full path for HYPERSPACE_SOCKET
- installing cli by pnpm raises warning
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cli.