Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upfilesystem paths do not work in the browser #665
Closed
Labels
Comments
This comment has been minimized.
This comment has been minimized.
|
Works fine for me in Electron. You must be changing what The error you're seeing comes from this code in if (typeof fs.stat !== 'function') {
throw new Error('filesystem paths do not work in the browser')
} |
This comment has been minimized.
This comment has been minimized.
|
I was using webtorrent.min.js. Thanks @feross . |
This comment has been minimized.
This comment has been minimized.
|
Glad you got it figured out :) |
This comment has been minimized.
This comment has been minimized.
|
This thread has been automatically locked because it has not had recent activity. To discuss futher, please open a new issue. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I am unable to seed the torrent file as it throws me an error "filesystem paths do not work in the browser". Electron as wrapped file system with path attribute after uploading file. Is there any way to get around this problem.