Skip to content
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

Uncaught Error: filesystem paths do not work in the browser <- selfbuild electron + meteor #812

Closed
FinnFrotscher opened this issue May 20, 2016 · 2 comments

Comments

@FinnFrotscher
Copy link

@FinnFrotscher FinnFrotscher commented May 20, 2016

  • WebTorrent version: latest
  • Node.js version: Meteor 1.3 is 0.10.43
  • Browser name/version (if using WebTorrent in the browser): Chrome & Electron

I have:
`

jade:
template(name='newfile')
  input(type='file' name='file' class='' id='file-input' multiple)

js:
import fs from 'fs';
// stuff
//input event:
var files = e.currentTarget.files;
 _.each(files, function(file) {
  client.seed(file, function (torrent) {
        console.log('Client is seeding ' + torrent.magnetURI)
   })
 });

When I add files in Chrome this works, it starts seeding.
But in Electron I get an 'Uncaught Error: filesystem paths do not work in the browser'

@FinnFrotscher

This comment has been minimized.

Copy link
Author

@FinnFrotscher FinnFrotscher commented May 22, 2016

found a work around. I stopped using meteor.

@lock

This comment has been minimized.

Copy link

@lock lock bot commented May 4, 2018

This thread has been automatically locked because it has not had recent activity. To discuss futher, please open a new issue.

@lock lock bot locked as resolved and limited conversation to collaborators May 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.