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

electron: Failed to load URL: file:///Users/xxx/out/main/about.html with error: ERR_FILE_NOT_FOUND #88

Open
tive6 opened this issue Jul 4, 2023 · 0 comments

Comments

@tive6
Copy link

tive6 commented Jul 4, 2023

import openAboutWindow from 'about-window'
export const createAboutWindow = () => openAboutWindow('../resources/logo.png')

It's terrible. Using it like this, running it gets an error like this

Uncaught Exception:
TypeError: module.paths is not iterable
at detectPackageJson (/Users/tiven/Desktop/dev/post-tools/out/main/index.js:204:35)
at injectInfoFromPackageJson (/Users/tiven/Desktop/dev/post-tools/out/main/index.js:223:17)
at openAboutWindow2 (/Users/tiven/Desktop/dev/post-tools/out/main/index.js:343:12)
at createAboutWindow (/Users/tiven/Desktop/dev/post-tools/out/main/index.js:353:3)
at MenuItem.click (node:electron/js2c/browser_init:2:30394)
at a._executeCommand (node:electron/js2c/browser_init:2:35790)

Console log prompt

(node:24956) electron: Failed to load URL: file:///Users/xxx/out/main/about.html with error: ERR_FILE_NOT_FOUND
(Use `Electron --trace-warnings ...` to show where the warning was created)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant