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

pattern is too long #8871

Open
dingshaohua-com opened this issue Feb 17, 2025 · 1 comment
Open

pattern is too long #8871

dingshaohua-com opened this issue Feb 17, 2025 · 1 comment

Comments

@dingshaohua-com
Copy link

 electron-builder  version=25.1.8 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
  • preparing       moduleName=fsevents arch=x64
  • finished        moduleName=fsevents 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
  • executing @electron/rebuild  electronVersion=22.3.27 arch=arm64 buildFromSource=false appDir=./
  • installing native dependencies  arch=arm64
  • preparing       moduleName=fsevents arch=arm64
  • finished        moduleName=fsevents arch=arm64
  • completed installing native dependencies
  • packaging       platform=darwin arch=arm64 electron=22.3.27 appOutDir=/Users/dsh/files.localized/code/live-student-fe/dist/mac-universal-arm64-temp
  • packaging       platform=darwin arch=universal electron=22.3.27 appOutDir=/Users/dsh/files.localized/code/live-student-fe/dist/mac-universal
  ⨯ pattern is too long  failedTask=build stackTrace=TypeError: pattern is too long
    at assertValidPattern (/Users/dsh/files.localized/code/live-student-fe/src/apps/electron/node_modules/@electron/asar/node_modules/minimatch/minimatch.js:279:11)
    at minimatch (/Users/dsh/files.localized/code/live-student-fe/src/apps/electron/node_modules/@electron/asar/node_modules/minimatch/minimatch.js:116:3)
    at shouldUnpackPath (/Users/dsh/files.localized/code/live-student-fe/src/apps/electron/node_modules/@electron/asar/src/asar.ts:151:33)
    at handleFile (/Users/dsh/files.localized/code/live-student-fe/src/apps/electron/node_modules/@electron/asar/src/asar.ts:166:24)
    at next (/Users/dsh/files.localized/code/live-student-fe/src/apps/electron/node_modules/@electron/asar/src/asar.ts:198:11)
    at createPackageFromFiles (/Users/dsh/files.localized/code/live-student-fe/src/apps/electron/node_modules/@electron/asar/src/asar.ts:202:10)
    at Object.createPackageWithOptions (/Users/dsh/files.localized/code/live-student-fe/src/apps/electron/node_modules/@electron/asar/src/asar.ts:57:10)
    at mergeASARs (/Users/dsh/files.localized/code/live-student-fe/src/apps/electron/node_modules/@electron/universal/src/asar-utils.ts:215:5)
    at makeUniversalApp (/Users/dsh/files.localized/code/live-student-fe/src/apps/electron/node_modules/@electron/universal/src/index.ts:245:7)
    at MacPackager.doPack (/Users/dsh/files.localized/code/live-student-fe/src/apps/electron/node_modules/app-builder-lib/src/macPackager.ts:153:9)
    at MacPackager.pack (/Users/dsh/files.localized/code/live-student-fe/src/apps/electron/node_modules/app-builder-lib/src/macPackager.ts:215:9)
    at Packager.doBuild (/Users/dsh/files.localized/code/live-student-fe/src/apps/electron/node_modules/app-builder-lib/src/packager.ts:459:9)
    at executeFinally (/Users/dsh/files.localized/code/live-student-fe/src/apps/electron/node_modules/builder-util/src/promise.ts:12:14)
    at Packager.build (/Users/dsh/files.localized/code/live-student-fe/src/apps/electron/node_modules/app-builder-lib/src/packager.ts:393:31)
    at executeFinally (/Users/dsh/files.localized/code/live-student-fe/src/apps/electron/node_modules/builder-util/src/promise.ts:12:14)
@beyondkmp
Copy link
Collaborator

beyondkmp commented Feb 17, 2025

This was fixed in #8725. You can try v26.0.1

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

2 participants