New problem to me :/
I tried to install a second game it crashed my game folder, and now I am bugged with only the first game "installed" but without a file behind. and I can't uninstall it ...
Exactly like this : issues 316
Uninstall don't work, repair don't work, move the path don't work too.
I uninstall heroic, delete all files I found on my mac, but when I reinstalled Heroic, my game appears as installed
So I try to build the last version (in DMG or PKG) but I obtain an error
My command : yarn dist-mac dmg
yarn run v1.22.10
$ yarn build-electron && yarn build && electron-builder -c.extraMetadata.main=build/main.js --mac dmg
$ tsc --project electron/tsconfig.json
$ react-scripts build
(node:37499) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at /Users/naced/HeroicGamesLauncher/node_modules/postcss-safe-parser/node_modules/postcss/package.json.
Update this package.json to use a subpath pattern like "./*".
(Use `node --trace-deprecation ...` to show where the warning was created)
Creating an optimized production build...
Compiled successfully.
File sizes after gzip:
89.27 KB build/static/js/2.de5b0532.chunk.js
8.2 KB build/static/js/3.3c4ba8b0.chunk.js
5.97 KB build/static/js/main.c8436594.chunk.js
5.63 KB build/static/js/4.77cbc34c.chunk.js
3.08 KB build/static/js/9.21b58aa4.chunk.js
2.24 KB build/static/js/6.5f16a41c.chunk.js
1.69 KB build/static/css/3.7ae8f458.chunk.css
1.66 KB build/static/css/4.3cb35ae7.chunk.css
1.62 KB build/static/js/runtime-main.e4520e30.js
1.55 KB build/static/js/5.2c1136b0.chunk.js
1.53 KB build/static/css/main.43e106df.chunk.css
960 B build/static/css/9.63d0fa12.chunk.css
871 B build/static/css/6.b2b23d96.chunk.css
866 B build/static/js/8.237f5e9e.chunk.js
816 B build/static/js/7.e48e7353.chunk.js
751 B build/static/css/5.f8d09cb0.chunk.css
661 B build/static/js/10.273f7250.chunk.js
587 B build/static/css/2.d97db9bf.chunk.css
492 B build/static/css/8.fda8b199.chunk.css
429 B build/static/css/10.04bd8b95.chunk.css
297 B build/static/css/7.c2bbb69a.chunk.css
The project was built assuming it is hosted at ./.
You can control this with the homepage field in your package.json.
The build folder is ready to be deployed.
Find out more about deployment here:
https://cra.link/deployment
• electron-builder version=22.10.5 os=20.5.0
• loaded configuration file=package.json ("build" field)
• public/electron.js not found. Please see https://medium.com/@kitze/%EF%B8%8F-from-react-to-an-electron-app-ready-for-production-a0468ecb1da3
• loaded parent configuration preset=react-cra
• writing effective config file=dist/builder-effective-config.yaml
• rebuilding native dependencies dependencies=fsevents@1.2.13 platform=darwin arch=arm64
• rebuilding native dependency name=fsevents version=1.2.13
• packaging platform=darwin arch=arm64 electron=13.1.1 appOutDir=dist/mac-arm64
• Unpacking electron zip zipPath=undefined
⨯ editions-autoloader-none-broadened: Unable to determine a suitable edition, even after broadening. stackTrace=
Error: editions-autoloader-none-broadened: Unable to determine a suitable edition, even after broadening.
at new Errlop (/Users/naced/HeroicGamesLauncher/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/naced/HeroicGamesLauncher/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/naced/HeroicGamesLauncher/node_modules/editions/edition-es5/index.js:317:21)
at solicitEdition (/Users/naced/HeroicGamesLauncher/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/naced/HeroicGamesLauncher/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/naced/HeroicGamesLauncher/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1109:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1138:10)
at Module.load (node:internal/modules/cjs/loader:989:32)
at Function.Module._load (node:internal/modules/cjs/loader:829:14)
at Module.require (node:internal/modules/cjs/loader:1013:19)
at require (node:internal/modules/cjs/helpers:93:18)
at Object.<anonymous> (/Users/naced/HeroicGamesLauncher/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1109:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1138:10)
at Module.load (node:internal/modules/cjs/loader:989:32)
↳ Error: editions-autoloader-none-suitable: Unable to determine a suitable edition, as none were suitable.
at new Errlop (/Users/naced/HeroicGamesLauncher/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/naced/HeroicGamesLauncher/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/naced/HeroicGamesLauncher/node_modules/editions/edition-es5/index.js:327:19)
at determineEdition (/Users/naced/HeroicGamesLauncher/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/naced/HeroicGamesLauncher/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/naced/HeroicGamesLauncher/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/naced/HeroicGamesLauncher/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1109:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1138:10)
at Module.load (node:internal/modules/cjs/loader:989:32)
at Function.Module._load (node:internal/modules/cjs/loader:829:14)
at Module.require (node:internal/modules/cjs/loader:1013:19)
at require (node:internal/modules/cjs/helpers:93:18)
at Object.<anonymous> (/Users/naced/HeroicGamesLauncher/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1109:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1138:10)
↳ Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript source code made to be compatible with Deno] is not compatible with this environment.
at new Errlop (/Users/naced/HeroicGamesLauncher/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/naced/HeroicGamesLauncher/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/naced/HeroicGamesLauncher/node_modules/editions/edition-es5/index.js:301:25)
at determineEdition (/Users/naced/HeroicGamesLauncher/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/naced/HeroicGamesLauncher/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/naced/HeroicGamesLauncher/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/naced/HeroicGamesLauncher/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1109:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1138:10)
at Module.load (node:internal/modules/cjs/loader:989:32)
at Function.Module._load (node:internal/modules/cjs/loader:829:14)
at Module.require (node:internal/modules/cjs/loader:1013:19)
at require (node:internal/modules/cjs/helpers:93:18)
at Object.<anonymous> (/Users/naced/HeroicGamesLauncher/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1109:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1138:10)
↳ Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript compiled against ES2019 for Node.js 12 || 14 || 15 with Import for modules] is not compatible with this environment.
at new Errlop (/Users/naced/HeroicGamesLauncher/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/naced/HeroicGamesLauncher/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/naced/HeroicGamesLauncher/node_modules/editions/edition-es5/index.js:301:25)
at determineEdition (/Users/naced/HeroicGamesLauncher/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/naced/HeroicGamesLauncher/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/naced/HeroicGamesLauncher/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/naced/HeroicGamesLauncher/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1109:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1138:10)
at Module.load (node:internal/modules/cjs/loader:989:32)
at Function.Module._load (node:internal/modules/cjs/loader:829:14)
at Module.require (node:internal/modules/cjs/loader:1013:19)
at require (node:internal/modules/cjs/helpers:93:18)
at Object.<anonymous> (/Users/naced/HeroicGamesLauncher/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1109:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1138:10)
↳ Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript compiled against ES2019 for Node.js 10 || 12 || 14 || 15 with Require for modules] is not compatible with this environment.
at new Errlop (/Users/naced/HeroicGamesLauncher/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/naced/HeroicGamesLauncher/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/naced/HeroicGamesLauncher/node_modules/editions/edition-es5/index.js:301:25)
at determineEdition (/Users/naced/HeroicGamesLauncher/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/naced/HeroicGamesLauncher/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/naced/HeroicGamesLauncher/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/naced/HeroicGamesLauncher/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1109:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1138:10)
at Module.load (node:internal/modules/cjs/loader:989:32)
at Function.Module._load (node:internal/modules/cjs/loader:829:14)
at Module.require (node:internal/modules/cjs/loader:1013:19)
at require (node:internal/modules/cjs/helpers:93:18)
at Object.<anonymous> (/Users/naced/HeroicGamesLauncher/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1109:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1138:10)
↳ Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript compiled against ESNext for Node.js 14 || 15 with Require for modules] is not compatible with this environment.
at new Errlop (/Users/naced/HeroicGamesLauncher/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/naced/HeroicGamesLauncher/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/naced/HeroicGamesLauncher/node_modules/editions/edition-es5/index.js:301:25)
at determineEdition (/Users/naced/HeroicGamesLauncher/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/naced/HeroicGamesLauncher/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/naced/HeroicGamesLauncher/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/naced/HeroicGamesLauncher/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1109:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1138:10)
at Module.load (node:internal/modules/cjs/loader:989:32)
at Function.Module._load (node:internal/modules/cjs/loader:829:14)
at Module.require (node:internal/modules/cjs/loader:1013:19)
at require (node:internal/modules/cjs/helpers:93:18)
at Object.<anonymous> (/Users/naced/HeroicGamesLauncher/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1109:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1138:10)
↳ Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript compiled against ES2019 for web browsers with Import for modules] is not compatible with this environment.
at new Errlop (/Users/naced/HeroicGamesLauncher/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/naced/HeroicGamesLauncher/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/Users/naced/HeroicGamesLauncher/node_modules/editions/edition-es5/index.js:301:25)
at determineEdition (/Users/naced/HeroicGamesLauncher/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/naced/HeroicGamesLauncher/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/naced/HeroicGamesLauncher/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/naced/HeroicGamesLauncher/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1109:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1138:10)
at Module.load (node:internal/modules/cjs/loader:989:32)
at Function.Module._load (node:internal/modules/cjs/loader:829:14)
at Module.require (node:internal/modules/cjs/loader:1013:19)
at require (node:internal/modules/cjs/helpers:93:18)
at Object.<anonymous> (/Users/naced/HeroicGamesLauncher/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1109:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1138:10)
↳ Error: editions-autoloader-edition-incompatible: The edition [TypeScript source code with Import for modules] is not compatible with this environment.
at new Errlop (/Users/naced/HeroicGamesLauncher/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/naced/HeroicGamesLauncher/node_modules/editions/edition-es5/util.js:23:14)
at isCompatibleEdition (/Users/naced/HeroicGamesLauncher/node_modules/editions/edition-es5/index.js:252:19)
at determineEdition (/Users/naced/HeroicGamesLauncher/node_modules/editions/edition-es5/index.js:287:4)
at determineEdition (/Users/naced/HeroicGamesLauncher/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/naced/HeroicGamesLauncher/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/naced/HeroicGamesLauncher/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/naced/HeroicGamesLauncher/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1109:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1138:10)
at Module.load (node:internal/modules/cjs/loader:989:32)
at Function.Module._load (node:internal/modules/cjs/loader:829:14)
at Module.require (node:internal/modules/cjs/loader:1013:19)
at require (node:internal/modules/cjs/helpers:93:18)
at Object.<anonymous> (/Users/naced/HeroicGamesLauncher/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1109:14)
↳ Error: editions-autoloader-invalid-engines: The edition had no engines to compare against the environment
at new Errlop (/Users/naced/HeroicGamesLauncher/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/Users/naced/HeroicGamesLauncher/node_modules/editions/edition-es5/util.js:23:14)
at isCompatibleEngines (/Users/naced/HeroicGamesLauncher/node_modules/editions/edition-es5/index.js:183:19)
at isCompatibleEdition (/Users/naced/HeroicGamesLauncher/node_modules/editions/edition-es5/index.js:250:10)
at determineEdition (/Users/naced/HeroicGamesLauncher/node_modules/editions/edition-es5/index.js:287:4)
at determineEdition (/Users/naced/HeroicGamesLauncher/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/Users/naced/HeroicGamesLauncher/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/Users/naced/HeroicGamesLauncher/node_modules/editions/edition-es5/index.js:364:9)
at Object.<anonymous> (/Users/naced/HeroicGamesLauncher/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1109:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1138:10)
at Module.load (node:internal/modules/cjs/loader:989:32)
at Function.Module._load (node:internal/modules/cjs/loader:829:14)
at Module.require (node:internal/modules/cjs/loader:1013:19)
at require (node:internal/modules/cjs/helpers:93:18)
at Object.<anonymous> (/Users/naced/HeroicGamesLauncher/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
EDIT:
Someone of the project give me the solution :
I have to delete the json file here :
Users/My User/.config/legendary/installed.json