question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

trying to use mt-donwloader in Electron with ReactJS

See original GitHub issue

I’m desperately trying to get mt-downloader working with ReactJS in Electron

to start off with there was an issue with json-scheme having an issue with define, causing a crash which I was able to fix with

module: {
  noParse: /node_modules\/json-schema\/lib\/validate\.js/,
}

in webpack.config.

Now the app runs, but when I try to download, it initialises the download and crashes in an createNodeObservable method, because the function passed to it is undefined. This is when it is trying to call fsOpen.

Any ideas what I can do to fix this? Here is the stack trace

screen shot 2016-03-11 at 22 38 39

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
stukennedycommented, Mar 12, 2016

I’ve figured it out … followed this tutorial http://jlongster.com/Backend-Apps-with-Webpack--Part-I

It now downloads properly … very happy indeed. 😃

0reactions
stukennedycommented, Mar 12, 2016

Yeah that sounds plausible … I’ve uploaded it here for you to take a look at

https://github.com/continuata/electronReact

Read more comments on GitHub >

github_iconTop Results From Across the Web

The Ultimate Guide to Electron with React | by Aditya Patnaik
How to implement routes using react-router-dom on Electron? How to make native calls from a React Component using the remote module?
Read more >
Integrating create-react-app into electron - Stack Overflow
I have tried it several time before without any success, and the closest I came was pointing (within the main.js entry file for...
Read more >
Getting Started with Electron by Creating a React App
We will create a React.js app using Create-React-App. Install Electron into the application. Configure Electron in the React.js app.
Read more >
Building Electron desktop apps with React using Codemagic
For example, if you want to create the application on Windows, you'll use Visual Studio, and your desktop application will only be available...
Read more >
Desktop App with Electron and React: Part 1 - YouTube
Electron # Reactjs In this video we get a React application up and running with Electron.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found