Open NightRannie opened 1 year ago
+1 same error
also me
i tried a couple things, one was as simple as it is,
npm install
and `npm update', and then redo the whole build/dist in electron
same error, how to fix?
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.
+999 same error
* 正在执行任务: yarn run build
yarn run v1.22.22
$ electron-builder
• electron-builder version=24.13.3 os=23.6.0
• loaded configuration file=/Users/admin/files.localized/code/kugou/electron-builder.json
• description is missed in the package.json appPackageFile=/Users/admin/files.localized/code/kugou/package.json
• writing effective config file=dist/builder-effective-config.yaml
• packaging platform=mas arch=x64 electron=31.2.1 appOutDir=dist/mas-universal-x64-temp
• asar usage is disabled — this is strongly not recommended solution=enable asar and use asarUnpack to unpack files that must be externally available
⨯ ENOENT: no such file or directory, ensureSymlink 'Versions/Current/Electron Framework' failedTask=build stackTrace=Error: ENOENT: no such file or directory, ensureSymlink 'Versions/Current/Electron Framework'
at processImmediate (node:internal/timers:483:21)
From previous event:
at copyAppFiles (/Users/admin/files.localized/code/kugou/node_modules/app-builder-lib/src/util/appFileCopier.ts:86:27)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
i resolve this err, i remove some old [app pakage] in source code
Electron-Builder Version: 24.6.4 Node Version: 16.12.0 Electron Version: 26.0.0-beta.12 Target: macOS
used electron-builder--mac An error occurred :“ENOENT: no such file or directory, ensureSymlink 'Versions/Current/Chromium Framework' ”
I don't know how to fix this error