Skip to content

failedTask=build stackTrace=TypeError: The "path" argument must be of type string. Received undefined #8870

@dingshaohua-com

Description

@dingshaohua-com
 electron-builder  version=26.0.6 os=24.3.0
  • loaded configuration  file=/Users/dsh/files.localized/code/live-student-fe/src/apps/electron/electron-builder.json
  • description is missed in the package.json  appPackageFile=/Users/dsh/files.localized/code/live-student-fe/src/apps/electron/package.json
  • writing effective config  file=/Users/dsh/files.localized/code/live-student-fe/dist/builder-effective-config.yaml
  • executing @electron/rebuild  electronVersion=22.3.27 arch=x64 buildFromSource=false appDir=./
  • installing native dependencies  arch=x64
  • completed installing native dependencies
  • packaging       platform=darwin arch=x64 electron=22.3.27 appOutDir=/Users/dsh/files.localized/code/live-student-fe/dist/mac-universal-x64-temp
  ⨯ The "path" argument must be of type string. Received undefined  failedTask=build stackTrace=TypeError: The "path" argument must be of type string. Received undefined
    at Object.normalize (node:path:1206:5)
    at flatten (/Users/dsh/files.localized/code/live-student-fe/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/app-builder-lib/src/node-module-collector/nodeModulesCollector.ts:64:49)
    at flatten (/Users/dsh/files.localized/code/live-student-fe/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/app-builder-lib/src/node-module-collector/nodeModulesCollector.ts:69:9)
    at flatten (/Users/dsh/files.localized/code/live-student-fe/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/app-builder-lib/src/node-module-collector/nodeModulesCollector.ts:69:9)
    at flatten (/Users/dsh/files.localized/code/live-student-fe/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/app-builder-lib/src/node-module-collector/nodeModulesCollector.ts:69:9)
    at flatten (/Users/dsh/files.localized/code/live-student-fe/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/app-builder-lib/src/node-module-collector/nodeModulesCollector.ts:69:9)
    at flatten (/Users/dsh/files.localized/code/live-student-fe/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/app-builder-lib/src/node-module-collector/nodeModulesCollector.ts:69:9)
    at NpmNodeModulesCollector.convertToDependencyGraph (/Users/dsh/files.localized/code/live-student-fe/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/app-builder-lib/src/node-module-collector/nodeModulesCollector.ts:73:5)
    at NpmNodeModulesCollector.getNodeModules (/Users/dsh/files.localized/code/live-student-fe/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/app-builder-lib/src/node-module-collector/nodeModulesCollector.ts:155:34)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions