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

Build exe warnings #2

Open
BaseMax opened this issue Dec 27, 2024 · 0 comments
Open

Build exe warnings #2

BaseMax opened this issue Dec 27, 2024 · 0 comments

Comments

@BaseMax
Copy link
Owner

BaseMax commented Dec 27, 2024

C:\Files\Projects\electron-censor-app>npm run dist

> [email protected] dist
> electron-builder

  • electron-builder  version=25.1.8 os=10.0.26100
  • loaded configuration  file=package.json ("build" field)
  • writing effective config  file=dist\builder-effective-config.yaml
  • executing @electron/rebuild  electronVersion=33.2.1 arch=x64 buildFromSource=false appDir=./
  • installing native dependencies  arch=x64
  • completed installing native dependencies
  • packaging       platform=win32 arch=x64 electron=33.2.1 appOutDir=dist\win-unpacked
  • downloading     url=https://github.com/electron/electron/releases/download/v33.2.1/electron-v33.2.1-win32-x64.zip
 size=115 MB parts=8
  • downloaded      url=https://github.com/electron/electron/releases/download/v33.2.1/electron-v33.2.1-win32-x64.zip
 duration=3m2.713s
  • updating asar integrity executable resource  executablePath=dist\win-unpacked\Electron Censor App.exe
  ⨯ Application entry file "dist\main.js" in the "C:\Files\Projects\electron-censor-app\dist\win-unpacked\resources\app.asar" does not exist. Seems like a wrong configuration.  failedTask=build stackTrace=Error: Application entry file "dist\main.js" in the "C:\Files\Projects\electron-censor-app\dist\win-unpacked\resources\app.asar" does not exist. Seems like a wrong configuration.
    at error (C:\Files\Projects\electron-censor-app\node_modules\app-builder-lib\src\asar\asarFileChecker.ts:7:12)
    at checkFileInArchive (C:\Files\Projects\electron-censor-app\node_modules\app-builder-lib\src\asar\asarFileChecker.ts:31:11)
    at WinPackager.checkFileInPackage (C:\Files\Projects\electron-censor-app\node_modules\app-builder-lib\src\platformPackager.ts:527:7)
    at WinPackager.sanityCheckPackage (C:\Files\Projects\electron-censor-app\node_modules\app-builder-lib\src\platformPackager.ts:575:5)
    at WinPackager.doPack (C:\Files\Projects\electron-censor-app\node_modules\app-builder-lib\src\platformPackager.ts:329:5)
    at WinPackager.pack (C:\Files\Projects\electron-censor-app\node_modules\app-builder-lib\src\platformPackager.ts:138:5)
    at Packager.doBuild (C:\Files\Projects\electron-censor-app\node_modules\app-builder-lib\src\packager.ts:459:9)
    at executeFinally (C:\Files\Projects\electron-censor-app\node_modules\builder-util\src\promise.ts:12:14)
    at Packager.build (C:\Files\Projects\electron-censor-app\node_modules\app-builder-lib\src\packager.ts:393:31)
    at executeFinally (C:\Files\Projects\electron-censor-app\node_modules\builder-util\src\promise.ts:12:14)
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