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 install-app-deps] faild in linux monorepo #53

Open
MarkShawn2020 opened this issue Jul 23, 2024 · 0 comments
Open

[electron-builder install-app-deps] faild in linux monorepo #53

MarkShawn2020 opened this issue Jul 23, 2024 · 0 comments

Comments

@MarkShawn2020
Copy link
Member

2024/07/23 15:32:07 ➜ swot-electron-vite git:(main) ✗ electron-builder install-app-deps
• electron-builder version=24.13.3
• loaded configuration file=package.json ("build" field)
• installing production dependencies platform=linux arch=x64 appDir=/home/ubuntu/@cs-magic/coding/codebase2/apps/swot-electron-vite
⨯ npm process failed ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
Exit code:
1
Error output:
npm WARN config production Use --omit=dev instead.
npm WARN ignoring workspace config at /home/ubuntu/@cs-magic/coding/codebase2/apps/swot-electron-vite/.npmrc
npm ERR! code EUNSUPPORTEDPROTOCOL
npm ERR! Unsupported URL Type "workspace:": workspace:^

npm ERR! A complete log of this run can be found in: /home/ubuntu/.npm/_logs/2024-07-23T07_32_10_168Z-debug-0.log
failedTask=installAppDeps stackTrace=Error: npm process failed ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
Exit code:
1
Error output:
npm WARN config production Use --omit=dev instead.
npm WARN ignoring workspace config at /home/ubuntu/@cs-magic/coding/codebase2/apps/swot-electron-vite/.npmrc
npm ERR! code EUNSUPPORTEDPROTOCOL
npm ERR! Unsupported URL Type "workspace:": workspace:^
npm ERR! A complete log of this run can be found in: /home/ubuntu/.npm/_logs/2024-07-23T07_32_10_168Z-debug-0.log
at ChildProcess. (/home/ubuntu/@cs-magic/coding/codebase2/node_modules/builder-util/src/util.ts:252:14)
at Object.onceWrapper (node:events:629:26)
at ChildProcess.emit (node:events:514:28)
at maybeClose (node:internal/child_process:1091:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)

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