-
-
Notifications
You must be signed in to change notification settings - Fork 450
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dat is ignoring all files in folder? #1186
Comments
same issue! |
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. |
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, 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 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. |
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.
|
Same here. $ rm -rf .dat 🤷♀️ |
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
|
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:
|
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.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. |
The executable didn't work for me either, still getting empty archive 🤪 node: 12.16.0 Update: The executable worked after downgrading node to v8.17.0 |
👍 |
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.
The text was updated successfully, but these errors were encountered: