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

electron-builder build failed #7347

Closed
himaniChaine opened this issue Jan 3, 2023 · 8 comments
Closed

electron-builder build failed #7347

himaniChaine opened this issue Jan 3, 2023 · 8 comments
Labels

Comments

@himaniChaine
Copy link

himaniChaine commented Jan 3, 2023

  • 23.6.0:
  • v16.16.0n:
  • 21.2.2:

no

  • MAC:
    also able to see ➜
web-app git:(feat/electron) ✗ which python
/usr/local/bin/python
    at ChildProcess.spawn (node:internal/child_process:413:11)
    at spawn (node:child_process:700:9)
    at Object.execFile (node:child_process:327:17)
    at /Users/himani/Documents/Github/chaine/.yarn/cache/builder-util-npm-23.6.0-2b87d7882d-138fb9abed.zip/node_modules/builder-util/src/util.ts:94:5
    at new Promise (<anonymous>)
    at Object.exec (/Users/himani/Documents/Github/chaine/.yarn/cache/builder-util-npm-23.6.0-2b87d7882d-138fb9abed.zip/node_modules/builder-util/src/util.ts:93:10)
    at executePython (/Users/himani/Documents/Github/chaine/.yarn/cache/dmg-builder-npm-23.6.0-d0da405dda-3e37a4b191.zip/node_modules/dmg-builder/src/dmg.ts:305:11)
    at customizeDmg (/Users/himani/Documents/Github/chaine/.yarn/cache/dmg-builder-npm-23.6.0-d0da405dda-3e37a4b191.zip/node_modules/dmg-builder/src/dmg.ts:313:5)
    at Object.executeFinally (/Users/himani/Documents/Github/chaine/.yarn/cache/builder-util-npm-23.6.0-2b87d7882d-138fb9abed.zip/node_modules/builder-util/src/promise.ts:12:14)
    at Object.attachAndExecute (/Users/himani/Documents/Github/chaine/.yarn/cache/dmg-builder-npm-23.6.0-d0da405dda-3e37a4b191.zip/node_modules/dmg-builder/src/dmgUtil.ts:33:10)
    at DmgTarget.build (/Users/himani/Documents/Github/chaine/.yarn/cache/dmg-builder-npm-23.6.0-d0da405dda-3e37a4b191.zip/node_modules/dmg-builder/src/dmg.ts:59:11)
    at async Promise.all (index 1)
    at AsyncTaskManager.awaitTasks (/Users/himani/Documents/Github/chaine/.yarn/cache/builder-util-npm-23.6.0-2b87d7882d-138fb9abed.zip/node_modules/builder-util/src/asyncTaskManager.ts:65:25)
    at Packager.doBuild (/Users/himani/Documents/Github/chaine/.yarn/cache/app-builder-lib-npm-23.6.0-cb887be781-da3cc9f24e.zip/node_modules/app-builder-lib/src/packager.ts:453:5)
    at Object.executeFinally (/Users/himani/Documents/Github/chaine/.yarn/cache/builder-util-npm-23.6.0-2b87d7882d-138fb9abed.zip/node_modules/builder-util/src/promise.ts:12:14)
    at Packager._build (/Users/himani/Documents/Github/chaine/.yarn/cache/app-builder-lib-npm-23.6.0-cb887be781-da3cc9f24e.zip/node_modules/app-builder-lib/src/packager.ts:376:31)
    at Packager.build (/Users/himani/Documents/Github/chaine/.yarn/cache/app-builder-lib-npm-23.6.0-cb887be781-da3cc9f24e.zip/node_modules/app-builder-lib/src/packager.ts:337:12)
    at Object.executeFinally (/Users/himani/Documents/Github/chaine/.yarn/cache/builder-util-npm-23.6.0-2b87d7882d-138fb9abed.zip/node_modules/builder-util/src/promise.ts:12:14)
    ```
<!-- If you want, you can donate to increase issue priority (https://www.electron.build/donate) -->
@mmaietta
Copy link
Collaborator

mmaietta commented Jan 5, 2023

What's the error message being thrown? I only see the stacktrace so I'm not sure what's happening apart from python being executed via execFile (it tests for python3 first, before falling back to python so maybe something is going wrong there?)

@himaniChaine
Copy link
Author

@mmaietta I am not able to make a build successfully

Screenshot 2023-01-06 at 10 52 36 AM

@mmaietta
Copy link
Collaborator

mmaietta commented Jan 6, 2023

What version of python do you have installed? Maybe there's an incompatiblity there? The ENOTDIR is a python-specific error AFAICT from a google search.

@himaniChaine
Copy link
Author

himaniChaine commented Jan 6, 2023

@mmaietta

Screenshot 2023-01-06 at 10 46 28 PM

@himaniChaine
Copy link
Author

@mmaietta I tried to decrease the python version as well
Screenshot 2023-01-06 at 11 33 45 PM

@himaniChaine
Copy link
Author

@mmaietta could you please review bug

@github-actions
Copy link
Contributor

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the Stale label Apr 26, 2023
@github-actions
Copy link
Contributor

github-actions bot commented May 1, 2023

This issue was closed because it has been stalled for 5 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants