Skip to content

"Error /bin/sh: Not a directory" while trying to run packaged app #3527

Closed as not planned
@mlshv

Description

@mlshv

Pre-flight checklist

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

Electron Forge version

7.3.0

Electron version

v29.1.1

Operating system

macOS 14.0

Last known working Electron Forge version

No response

Expected behavior

Screenshot 2024-03-09 at 11 28 08

Actual behavior

Error: /bin/sh: /Users/m/code/cycletls-app/out/make/zip/darwin/arm64/cycletls-app.app/Contents/Resources/app.asar/node_modules/cycletls/dist/index-mac-arm64: Not a directory

    at Socket.<anonymous> (/Users/m/code/artic/cycletls-app/out/make/zip/darwin/arm64/cycletls-app.app/Contents/Resources/app.asar/node_modules/cycletls/dist/index.js:89:29)
    at Socket.emit (node:events:514:28)
    at addChunk (node:internal/streams/readable:376:12)
    at readableAddChunk (node:internal/streams/readable:349:9)
    at Readable.push (node:internal/streams/readable:286:10)
    at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)
Screenshot 2024-03-09 at 11 27 41

Steps to reproduce

git clone [email protected]:mlshv/cycletls-app.git
cd cycletls-app
npm install
npm run make
cd ./out/make/zip/darwin/arm64
unzip cycletls-app-darwin-arm64-1.0.0.zip
./cycletls-app.app/Contents/MacOS/cycletls-app

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions