dromara / dromara/electron-egg

ee-core版本4.0.0 子进程用了childjob 本地运行正常 打包之后启动 子进程抛出异常 jobs/timer.js, error: Cannot find module 'electron'

Open
#172 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.5k
Forks
336
PR merge metrics
No merged PRs in 30d

Description

![Image](https://github.com/user-attachments/assets/a177677d-d412-4222-93f2-41f0cf16ea6a)

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the failure by packaging the application and starting the subprocess used by childjob. Inspect jobs/timer.js and the packaged Electron startup path around the reported “Cannot find module 'electron'” error. Done means the packaged application starts this subprocess without that exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, javascript
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.