electron-userland / electron-builder

A complete solution to package and build a ready for distribution Electron app with “auto update” support out of the box
https://www.electron.build
MIT License
13.6k stars 1.73k forks source link

ensureSymlink 'Versions/Current/Chromium Framework #7772

Open NightRannie opened 1 year ago

NightRannie commented 1 year ago

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' ” Xnip2023-09-12_13-50-47

I don't know how to fix this error

justb commented 1 year ago

+1 same error

debelop13 commented 11 months ago

also me

taotao7 commented 9 months ago
jesjvo commented 8 months ago

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

wudb commented 5 months ago

same error, how to fix?

github-actions[bot] commented 3 months ago

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.

dingshaohua-com commented 1 month ago

+999 same error

dingshaohua-com commented 1 month ago
 *  正在执行任务: 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.
dingshaohua-com commented 1 month ago

i resolve this err, i remove some old [app pakage] in source code