Build exe warnings
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- electron, typescript
- Domain
- build-system, desktop
Research direction
Inspect the package.json build configuration and the dist/main.js entry named in the error. Run npm run dist to reproduce the packaging failure; done means electron-builder completes without reporting that the application entry file is missing.
Written by the indexing model from the issue text.
Description
C:\Files\Projects\electron-censor-app>npm run dist
> electron-censor-app@1.0.0 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)
- Dominant language
- TypeScript
- Stars
- 1
- Forks
- 0
- Avg merge
- 10h 27m
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from BaseMax/electron-censor-app
-
Difficulty 1/5 Under an hour Newbie friendliness 35/100
-
Fix package warnings Open
Difficulty 3/5 1-2 days Newbie friendliness 25/100
All issues in BaseMax/electron-censor-app
Similar issues
-
comp/desktop P3 type/bug
Difficulty 1/5 Under an hour Newbie friendliness 92/100
NousResearch/hermes-agent#118866 ·
-
Browser Waiting for: Product Owner
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
getsentry/sentry-javascript#24577 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
agilepathway/label-checker#640 ·
-
Plugin stuck at "loading" on DSH 0.1.6-alpha.2 — turnTail list slot registration missing options.id Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
chrisparsons83/flexspotff#153 ·