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

no such file or directory, stat '/private/var/folders/kf/hhyt5wd943b8qgdyqx4bf9_c0000gn/T/electron-universal-XRDSje/Tmp.app/Contents/Resources/node_modules/@electron/remote/node_modules/.bin/electron' failedTask=build stackTrace=Error: ENOENT: no such file or directory, stat '/private/var/folders/kf/hhyt5wd943b8qgdyqx4bf9_c0000gn/T/electron-universal-XRDSje/Tmp.app/Contents/Resources/node_modules/@electron/remote/node_modules/.bin/electron' #8743

Open
skytosky opened this issue Dec 16, 2024 · 0 comments

Comments

@skytosky
Copy link

  • Electron-Builder Version:

node v16.20.2

"electron": "22.3.27",

  • Electron Type (current, beta, nightly):

{
"name": "wkai",
"version": "3.0.0",
"sideEffects": false,
"description": "Extensible, fast and innovative web browser with material UI.",
"keywords": [
"web-browser",
"material",
"electron",
"react",
"mobx",
"styled-components"
],
"main": "build/main.bundle.js",
"author": "wk",
"repository": {
"type": "git"
},
"scripts": {
"dev-renderer": "cross-env DEV=1 webpack serve --config webpack.config.renderer.js",
"dev-webpack": "cross-env DEV=1 webpack",
"build-renderer": "webpack --config webpack.config.renderer.js",
"dev": "cross-env START=1 npm run watch",
"build": "rimraf build && concurrently "npm run build-renderer" "webpack"",
"ci-build": "node scripts/ci-build.js",
"start": "electron .",
"watch": "concurrently "npm run dev-renderer" "npm run dev-webpack"",
"compile-win32": "npm run build && electron-builder -w",
"compile-darwin": "DEBUG=electron-builder npm run build && electron-builder -m",
"compile-linux": "npm run build && electron-builder -l",
"lint": "eslint "src//.ts" "src//.tsx"",
"lint-fix": "npm run lint -- --fix",
"rebuild": "electron-builder install-app-deps",
"push": "GITBR=$(git branch | grep \* | cut -d ' ' -f2);git push origin ${GITBR}:refs/for/${GITBR}"
},
"devDependencies": {
"@babel/core": "^7.14.6",
"@cliqz/adblocker-electron": "1.26.0",
"@cliqz/adblocker-electron-preload": "1.26.0",
"@electron/notarize": "^2.5.0",
"@electron/remote": "^2.1.2",
"@pmmmwh/react-refresh-webpack-plugin": "^0.4.3",
"@types/animejs": "^3.1.3",
"@types/chrome": "0.0.145",
"@types/crypto-js": "^4.0.1",
"@types/jszip": "^3.4.1",
"@types/nedb": "1.8.11",
"@types/node": "16.18.0",
"@types/node-fetch": "^2.5.10",
"@types/react": "17.0.11",
"@types/react-dom": "17.0.8",
"@types/rimraf": "^3.0.0",
"@types/styled-components": "5.1.10",
"@typescript-eslint/eslint-plugin": "^4.28.0",
"@typescript-eslint/parser": "^4.28.0",
"@wexond/rpc-core": "^1.0.3",
"@wexond/rpc-electron": "^1.0.3",
"animejs": "^3.2.1",
"assert": "^2.1.0",
"awesome-node-loader": "^1.1.1",
"babel-loader": "^8.2.2",
"browser-process-hrtime": "^1.0.0",
"buffer": "^6.0.3",
"concurrently": "^6.2.0",
"copy-webpack-plugin": "^9.0.1",
"cross-env": "7.0.3",
"css-loader": "^6.5.1",
"electron": "22.3.27",
"electron-builder": "24.6.4",
"electron-extensions": "^7.0.0-beta.3",
"electron-updater": "6.1.4",
"eslint": "^7.29.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-react": "^7.24.0",
"file-loader": "^6.2.0",
"file-type": "16.5.0",
"fork-ts-checker-webpack-plugin": "^6.2.12",
"global": "^4.4.0",
"html-webpack-plugin": "^5.3.2",
"icojs": "^0.16.1",
"jszip": "^3.6.0",
"less": "^4.1.2",
"less-loader": "^10.2.0",
"mini-css-extract-plugin": "^2.4.5",
"mobx": "6.3.2",
"mobx-react-lite": "3.2.0",
"nedb": "1.8.0",
"node-bookmarks-parser": "^2.0.0",
"node-fetch": "^2.6.1",
"path-browserify": "^1.0.1",
"prettier": "2.3.2",
"pretty-bytes": "5.6.0",
"process": "^0.11.10",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-refresh": "^0.10.0",
"react-windows-controls": "1.1.1",
"rimraf": "^3.0.2",
"source-map-support": "^0.5.19",
"stream-browserify": "^3.0.0",
"style-loader": "3.3.1",
"styled-components": "^5.3.0",
"terser": "^5.7.0",
"terser-webpack-plugin": "^5.1.4",
"ts-loader": "^9.2.3",
"tsconfig-paths-webpack-plugin": "^3.5.1",
"typescript": "^4.3.4",
"typescript-plugin-styled-components": "^1.6.0",
"util": "^0.12.5",
"webpack": "5.88.2",
"webpack-bundle-analyzer": "^4.4.2",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.1.0",
"webpack-merge": "^5.8.0"
},
"dependencies": {
"@baidu/orion-aitrack": "^2.0.2",
"axios": "^1.7.9",
"qs": "^6.13.1",
"url": "^0.11.4"
}
}

打包执行生成mac universal 包 执行一直报错,提示找不到文件,去查了一下文件的确没有找到
image

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

1 participant