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
Creating new Imba Electron app doesn't work with a lot of issues #591
Comments
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
|
The issue is still there, nothing changed. |
|
@taw I wonder if https://github.com/tauri-apps/tauri would work instead? |
|
@codeluggage That doesn't seem related to it at all. |
|
@taw Yes, I meant to offer an alternative, not address the current Electron issues. I've been curious about Tauri so I gave it a try - looks like it's working well: https://github.com/codeluggage/imba-tauri If the Electron issues are blocking you, you could go this direction instead. I'll see about adding this as an alternative template for EDIT: Added feature request here: #658 |
|
The electron template should probably be removed from imba create until we have a decent one that works. Will get back to this soon. |
Starting a new one:
Now running it:
And:
That already has two minor issues:
npm run watchfirstBut the real problem starts when I actually run the code, as preload doesn't seem to run, and console is full of errors:
That's a long list:
index.htmlexpects__hmr__.jswhich is not there (separate from preload issue)DevTools failed to load SourceMap: Could not parse content for file:///__assets__/app/preload.js.map: Unexpected end of JSON input- those paths are wrong (separate from preload issue)Uncaught (in promise) TypeError: Cannot read property 'invoke' of undefined- because preload did not run, button does thisI think figuring out why preload is crashing and fixing it would be the main thing. Bad parts to hmr, source maps, and minor things are probably not blocking development.
The text was updated successfully, but these errors were encountered: