Tencent / Tencent/TAD_Sim

请问为什么会出现file "/build/build/release/linux-unpacked/resources/app/build/electron/main.js"不存在?我的simapp构建过程没有任何报错

Open
#55 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
465
Forks
122
PR merge metrics
No merged PRs in 30d

Description

ERROR
image

webpack-common-config文件如下,感觉并没有什么问题,但似乎并没有把src/main/index.js打包成功。
const { join } = require('path')
const commonConfig = require('./webpack-common-config')

/**

  • @description 主进程webpack配置
    */
    const mainConfig = {
    ...commonConfig,
    entry: {
    main: join(__dirname, 'src/main/index.js'),
    },
    target: 'electron-main',
    }

module.exports = mainConfig

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading webpack-common-config and the main-process entry at src/main/index.js, then trace the simapp build output against the missing resources/app/build/electron/main.js path. Confirm whether the entry is emitted under the expected name and location; done means the build produces that file and the packaged application can find it.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, javascript, webpack
Domain
build-system, desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.