Skip to content

Cannot output in the same directory its inputting #1460

Closed as not planned
Closed as not planned

Description

Preflight Checklist

  • I have read the contribution documentation for this project.
  • I agree to follow the code of conduct that this project follows, as appropriate.
  • I have searched the issue tracker for a bug that matches the one I want to file, without success.

Issue Details

Electron Packager does not output in the same directory it takes its input.

Host Operating system:

  • Electron Packager Version:
    • 17.1.1
  • Electron Version:
    • 21.3.0
  • Operating System:
    • darwin 22.1.0 (arm64)
  • Node Version:
    • Node v18.9.0

Expected Behavior

Generate output in the same folder as the input

Packaging app for platform darwin arm64 using electron v21.3.3

and in package.json the main can be: "main": "./out/main/index.js",

Actual Behavior

Packaging app for platform darwin arm64 using electron v21.3.3
The main entry point to your app was not found. Make sure "out/main/index.js" exists and does not get ignored by your ignore option

To Reproduce

yarn create @quick-start/electron my-app --template react # No to all
cd my-app
yarn
yarn build
npx electron-packager . --out ./out

But you get:
Packaging app for platform darwin arm64 using electron v21.3.3
The main entry point to your app was not found. Make sure "out/main/index.js" exists and does not get ignored by your ignore option

Additional Information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions