GithubHelp home page GithubHelp logo

dat is ignoring all files in folder? about dat HOT 23 OPEN

xDekpix avatar xDekpix commented on August 17, 2024 5
dat is ignoring all files in folder?

from dat.

Comments (23)

remram44 avatar remram44 commented on August 17, 2024 2

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:

from dat.

Rhythmicc avatar Rhythmicc commented on August 17, 2024 1

same issue!

from dat.

Rhythmicc avatar Rhythmicc commented on August 17, 2024 1

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.

from dat.

garbados avatar garbados commented on August 17, 2024 1

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)

ðŸĪ·â€â™€ïļ

from dat.

catwell avatar catwell commented on August 17, 2024 1

Same issue on Arch Linux (dat 14.0.2, node v14.3.0).

from dat.

okdistribute avatar okdistribute commented on August 17, 2024 1

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

from dat.

ngriaznov avatar ngriaznov commented on August 17, 2024 1

I found that setting mirror-folder reference explicitly in package.json to "3.0.0" fixes the import problem, at least with dat-node

from dat.

okdistribute avatar okdistribute commented on August 17, 2024 1

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)

from dat.

okdistribute avatar okdistribute commented on August 17, 2024 1

@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

from dat.

devarops avatar devarops commented on August 17, 2024 1

The executable solved my issue. Thank you, @okdistribute.

from dat.

syzer avatar syzer commented on August 17, 2024 1

👍

from dat.

okdistribute avatar okdistribute commented on August 17, 2024

Do you see the same issue with 13.x?

@Rhythmicc are you also on windows?

from dat.

lirylinx avatar lirylinx commented on August 17, 2024

same issue on windows and linux.
dat version 13.13.1 and 14.x

from dat.

okdistribute avatar okdistribute commented on August 17, 2024

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

from dat.

okdistribute avatar okdistribute commented on August 17, 2024

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

from dat.

Rhythmicc avatar Rhythmicc commented on August 17, 2024

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.

from dat.

xDekpix avatar xDekpix commented on August 17, 2024

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.

from dat.

ngriaznov avatar ngriaznov commented on August 17, 2024

Same thing happens for me on node 12 and also on dat-node, files are not being imported. BOth Mac OS and Win10

from dat.

fuji246 avatar fuji246 commented on August 17, 2024

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

from dat.

catwell avatar catwell commented on August 17, 2024

I might try to take a look but I have basically no experience with Node...

I can confirm that the standalone download works.

from dat.

remram44 avatar remram44 commented on August 17, 2024

I see, so everything changed very recently. That explains it. I took a look at hyperdrive, thanks.

from dat.

devarops avatar devarops commented on August 17, 2024

Same issue here

from dat.

guoliu avatar guoliu commented on August 17, 2024

@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

from dat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google âĪïļ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.