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

Background.js not being compiled to app.asar #2003

Open
IH-Priyam opened this issue Jan 3, 2025 · 0 comments
Open

Background.js not being compiled to app.asar #2003

IH-Priyam opened this issue Jan 3, 2025 · 0 comments

Comments

@IH-Priyam
Copy link

IH-Priyam commented Jan 3, 2025

I have an application that runs well on "serve', but on building the application, I was getting Error: Application entry file "background.js" in the "....../app.asar" does not exist. Seems like a wrong configuration. Which is similar to issue #1637. But when i followed the thread and removed main: "background.js" from package.json, i get this similar errror now:
Error: Application entry file "index.js" in the "/application-improvment-UserMode/dist_electron/linux-unpacked/resources/app.asar" does not exist. Seems like a wrong configuration.
Also I am using "vue-cli-plugin-electron-builder": "~2.1.1", but the issue only offers solutions for version 3 Alpha.
Why are the files not being properly compiled to app.asar? How do I debug this issue?
Attached are the package.json and vue.config files
package.json

image

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