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

Error: Unable to find a valid app due to missing package.json #264

Closed
ghost opened this issue Feb 16, 2016 · 3 comments
Closed

Error: Unable to find a valid app due to missing package.json #264

ghost opened this issue Feb 16, 2016 · 3 comments

Comments

@ghost
Copy link

ghost commented Feb 16, 2016

Which version of electron-packager are you using?

5.2.1

What cli arguments are you passing?

electron-packager ./src . --platform=win32 --arch=x64 --asar --version=0.36.7 --overwrite

What platform are you running electron-packager on? What platform(s) are you building for?

Running on Windows 7, building for Windows 7

Is there a stack trace in the error message you're seeing?

Error: Unable to find a valid app

When possible, please provide instructions to reproduce your problem

Simply run the command above.

@ghost ghost closed this as completed Feb 16, 2016
@ghost
Copy link
Author

ghost commented Feb 16, 2016

The reason is that package.json is required in the sources directory.

@AndyRoyal
Copy link

这个问题按照上面的方式都不行

@AndyRoyal
Copy link

有没有解决了的

@malept malept changed the title Error: Unable to find a valid app Error: Unable to find a valid app due to missing package.json Jun 13, 2019
This issue was closed.
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