webtorrent / fs-chunk-store Goto Github PK
View Code? Open in Web Editor NEWFilesystem (fs) chunk store that is abstract-chunk-store compliant
License: MIT License
Filesystem (fs) chunk store that is abstract-chunk-store compliant
License: MIT License
This is probably the issue, but it is not fully confirmed, as we didn't trace it exactly to this module.
In WebTorrent Desktop, there's a bug where a zero length file is not being created on the filesystem, which causes the mod-time code to think the file has been modified on disk and reverify the entire torrent.
Happens consistently with archive.org torrents.
cc @dcposch
I'm getting an eexists
error when trying something similar to the below code, telling me the outputPath already exists:
const torrent = client.add(torrent, { path: outputPath });
torrent.on('done', () => {
const readStream = torrent.files[fileIndex].createReadStream();
fluent(readStream);
});
From what I can see on my filesystem, webtorrent has created the folder and added a single file to it, then errors when I later try to create a readstream from it. I was able to edit the copy of fs-chunk-store in my local node_modules folder, and reverting this change fixes the problem for me:
Node's docs say that { recursive: true }
prevents EEXISTS
errors, but maybe that doesn't count for the child most folder?
This line.
I am using webtorrent in my electron app, and getting an error because of it.
It seems to have been fixed in the current HEAD, but not in npm version.
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
.github/workflows/ci.yml
actions/checkout v3
actions/setup-node v3
.github/workflows/release.yml
actions/checkout v3
actions/setup-node v3
actions/cache v3
package.json
filename-reserved-regex ^3.0.0
queue-microtask ^1.2.2
random-access-file ^4.0.0
randombytes ^2.0.3
run-parallel ^1.1.2
thunky ^1.0.1
@webtorrent/semantic-release-config 1.0.10
abstract-chunk-store 1.5.0
semantic-release 21.1.2
standard *
tape 5.7.5
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.