dat
dat copied to clipboard
dat is ignoring all files in folder?
dat version: 14.0.2 node version: 14.2.0 os: win10 i recently downloaded dat to try out in the command window, and am testing a directory to share over it. after creating a dat inside the folder and using the share command, dat shares the folder but ignores every file in it other than the json file and says that the rest of the folder is empty. am i just being dumb and missing something silly? i don't get why it wont share any of the files.
same issue!
Do you see the same issue with 13.x?
@Rhythmicc are you also on windows?
Do you see the same issue with 13.x?
@Rhythmicc are you also on windows?
On Mac, but same issue. And I've tried both 13.x and 14.0.
same issue on windows and linux. dat version 13.13.1 and 14.x
I am able to reproduce the bug.
dat 13.10.1 did not work on node 12.4 but it worked on node 8
dat 14.x worked on node 12
Does installing directly work for you? (note: if you are a node dev, unset NODE_OIPTIONSif you're having an issue with Pkg: FLAGS MISMATCH)
https://github.com/datproject/dat#installing-without-npm
PRs welcome, there is currently no one being paid to work on this although there is OpenCollective money in the bank that we cold use to pay a bounty
my node version is v13.6.0, it seems that i can only use dat on node 12? i've tried installed dat by git clone this project and use npm to install, or installed dat with command, but both of them were not work.
i used npm to install dat also. dat-desktop allows me to create working dat metadata files, so i can use that to set up the files and then be able to share the files over the console version of dat to get around it, it seems like the current version of dat is failing to write the metadata for the files in the folder properly, or something. so if i run it on the previous version it works? i guess i kind of glossed over the "recommended for most users" because i didn't realize the current version would conflict w/ it, my bad! thanks ill download node 12 instead.
Same thing happens for me on node 12 and also on dat-node, files are not being imported. BOth Mac OS and Win10
same here! only dat.json is scanned.
MacBook-Pro:test-assets jeromy$ dat share
dat v13.13.1
dat://a336f9bad212ab646606c99533d7c839c7ede4ac3c35bb3d5380d9ad891182d8
Sharing dat: 1 files (143 B)
0 connections | Download 0 B/s Upload 0 B/s
Checking for file updates...
Exiting the Dat program...MacBook-Pro:test-assets jeromy$ ls
20180323_2438.mov 20190916_13199.mov 20200210_41.mp4 IMG_0031.JPG IMG_3423.JPG IMG_4277.JPG dat.json
20190413_10920.mov 20191128_1318.heic 20200212_37.mov IMG_3024.JPG IMG_3999.JPG IMG_6607.JPG debian-logo.png
Same here.
$ rm -rf .dat $ ls css img index.html js js-ext list.txt package-lock.json readme.md templates txt $ dat share dat v14.0.2 Created new dat in /home/deus/code/zine/.dat dat://382eaf8f09e254d6e6a0ac02bb569c05d570215f9b1dc5962a66c1d937e24501 Sharing dat: (empty archive)
:woman_shrugging:
Same issue on Arch Linux (dat 14.0.2, node v14.3.0).
PRs welcome! There is no one being paid to maintain dat cli
dat 13.10.1 did not work on node 12.4 but it worked on node 8
dat 14.x worked on node 12
I might try to take a look but I have basically no experience with Node...
I can confirm that the standalone download works.
I found that setting mirror-folder reference explicitly in package.json to "3.0.0" fixes the import problem, at least with dat-node
Doesn't work for me either. I can't use Dat at all since it only syncs empty archives.
I don't want to be beat a dead horse if "no one is paid to maintain" this anymore (you do have a "Dat Foundation" though?), but I think you could stand to be a little bit more upfront about which are the active projects in this ecosystem. After an hour of research, I have no idea how projects, organizations, and websites relate to each other. Is Hyperdrive-daemon the active replacement for Dat?
What I've found:
- 3 separate GitHub organizations
- hypercore-protocol (also home of hyperdrive and hyperdrive-daemon)
- datprotocol
- datproject
- 6 separate websites
- datproject.org (now redirects to dat.foundation)
- docs.datproject.org
- www.datprotocol.com
- hypercore-protocol.org
- datprotocol.github.io/how-dat-works/
I changed the README so that it is clear to use the distributed executable rather than installing from npm directly. Hopefully that helps.
https://github.com/datproject/dat/blob/master/README.md#installing-the--dat-command-line-tool
@remram44 yes, it's a bit confusing, and we were in the process of cleaning it up when we ran out of money and now everyone has day jobs -- but actually, there are dozens still working on either hypercore protocol itself (the underlying primitives), or using hypercore protocol in production code with some other organization, check the https://hypercore-protocol.org/ website for more details.
The datprotocol GitHub org will get deprecated in favor of hypercore-protocol.
datprotocol.com* will also get moved to hypercore-protocol, or retired.
Read more https://blog.datproject.org/2020/05/15/dat-protocol-renamed-hypercore-protocol/
cc @pfrazee @mafintosh @andrewosh o/
PS. the dat cli is still looking for maintainers ;) I don't think it would be that hard to update to the latest hyperdrive... (for someone with a bit of node.js knowledge)
I see, so everything changed very recently. That explains it. I took a look at hyperdrive, thanks.
Same issue here
@evaristor do you have the same issue when using the executable? https://github.com/datproject/dat/blob/master/README.md#installing-the--dat-command-line-tool
The executable solved my issue. Thank you, @okdistribute.
@evaristor do you have the same issue when using the executable? https://github.com/datproject/dat/blob/master/README.md#installing-the--dat-command-line-tool
The executable didn't work for me either, still getting empty archive 🤪
node: 12.16.0 macOS: 10.14.6
Update:
The executable worked after downgrading node to v8.17.0
👍