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

Uncaught ReferenceError, as app is not defined as of @electron/universal@1.4.2 #80

Closed
BaldvinTh opened this issue Oct 31, 2023 · 1 comment · Fixed by #81
Closed

Uncaught ReferenceError, as app is not defined as of @electron/universal@1.4.2 #80

BaldvinTh opened this issue Oct 31, 2023 · 1 comment · Fixed by #81

Comments

@BaldvinTh
Copy link
Contributor

Electron Forge version

6.4.2

Expected behavior

Application built with universal architecture runs the correct architecture

Actual behavior

Uncaught exception as the script tries to utilize a function from undefined variable.
Issue introduced in v1.4.2

Steps to reproduce

Build a universal application, make & run it

Additional information

image

@soroushm
Copy link
Contributor

soroushm commented Nov 2, 2023

same here
look like in entry-asar/has-asar.js use app but is not imported so we are getting this error

const appPath = app.getAppPath();

@erikian erikian linked a pull request Nov 2, 2023 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants