Closed jcalfee closed 5 years ago
same on Mac
Okay, I just fixed it by downloading the Production app and open it :D
I don't know why this happening but I think its something related by configuration checks the state.js
file on render folder line 60
there is a long comment talking about that.
https://github.com/webtorrent/webtorrent-desktop/blob/master/src/renderer/lib/state.js#L60
I am facing the same issue on mac @Muhnad Can you please explain what you mean by production app? Is it on a different branch?
Just download the app from website and run it.
Then run the code. That's what I did and worked with me.
On Mon, Jun 10, 2019, 9:01 PM Pulipaka Sai Krishna notifications@github.com wrote:
I am facing the same issue on mac @Muhnad https://github.com/Muhnad Can you please explain what you mean by production app? Is it on a different branch?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/webtorrent/webtorrent-desktop/issues/1600?email_source=notifications&email_token=ADGIXNE47XFJXECM6762BZDPZ2QHPA5CNFSM4HVPCQX2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXK4ESA#issuecomment-500548168, or mute the thread https://github.com/notifications/unsubscribe-auth/ADGIXNANKM3SREBDTMAI5DTPZ2QHPANCNFSM4HVPCQXQ .
Thank you, that works
Same on Ubuntu 19.04!
Also tried yarn install
with node v11. Sometimes electronjs does better under yarn. Did not work though.. Same error under node v9 and v10..
Got it working under node v11 .. I went to the latest release tag..
$ git checkout tags/v0.20.0
HEAD is now at fbb3fa6... 0.20.0
$ npm install
...
$ npm start
This is still an issue on master.
For me master
work great in this scenarios
Giving that node 8 and node 10 are the stable LTS versions and node 12 the current one, could you try with this releases of node in case of we can recover more info... 😉
Same error under node v10..
@jcalfee Are you sure that you're running Node 10? And error parsing ...options
indicates that you're using an old version of Node.js (likely older than Node 8). You can check the version you're using with:
which node
node --version
Nevermind. The issue is coming from Electron. You may be using an outdated electron version. What do you get when you run this:
npm ls electron
You might also want to try once more using the latest code from the master
branch as we've just updated to Electron 4. But it worked for me with electron@1.8.8 before updating too.
$ npm ls electron
webtorrent-desktop@0.20.0 /home/james/opt/webtorrent-desktop
└── electron@1.8.8
I did a pull on master and although npm ls electron
still reports electron@1.8.8
, npm start
works now. Thank you..
Great. Glad you got it figured out!
npm start
on master does not produce any UI and gives me an error.What version of WebTorrent Desktop? (See the 'About WebTorrent' menu)
What operating system and version? Debian Stretch $ node -v v11.6.0
What did you do?
npm start
What actually happened?
Node kept running but the UI did not show up.
Maybe package.json needs some babel-polyfill?