Skip to content

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

@tive6

Description

@tive6
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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions