diego3g/electron-typescript-react

npm run package

tongle3000 opened this issue · 1 comments

help me. in china

⨯ Get "https://github-production-release-asset-2e65be.s3.amazonaws.com/9384267/e5b6ac80-29ac-11eb-8450-e1664b235645?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20201209%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20201209T064807Z&X-Amz-Expires=300&X-Amz-Signature=689bd6ce877c9a8da88a87808156a4de6b3ede3dbec329a19520df561b3a9524&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=9384267&response-content-disposition=attachment%3B%20filename%3Delectron-v8.5.5-darwin-x64.zip&response-content-type=application%2Foctet-stream": EOF
github.com/develar/app-builder/pkg/download.(*Downloader).follow.func1
/Volumes/data/Documents/app-builder/pkg/download/downloader.go:206
github.com/develar/app-builder/pkg/download.(*Downloader).follow
/Volumes/data/Documents/app-builder/pkg/download/downloader.go:234
github.com/develar/app-builder/pkg/download.(*Downloader).DownloadNoRetry
/Volumes/data/Documents/app-builder/pkg/download/downloader.go:128
github.com/develar/app-builder/pkg/download.(*Downloader).Download
/Volumes/data/Documents/app-builder/pkg/download/downloader.go:112
github.com/develar/app-builder/pkg/electron.(*ElectronDownloader).doDownload
/Volumes/data/Documents/app-builder/pkg/electron/electronDownloader.go:192
github.com/develar/app-builder/pkg/electron.(*ElectronDownloader).Download
/Volumes/data/Documents/app-builder/pkg/electron/electronDownloader.go:177
github.com/develar/app-builder/pkg/electron.downloadElectron.func1.1
/Volumes/data/Documents/app-builder/pkg/electron/electronDownloader.go:73
github.com/develar/app-builder/pkg/util.MapAsyncConcurrency.func2
/Volumes/data/Documents/app-builder/pkg/util/async.go:68
runtime.goexit
/usr/local/Cellar/go/1.14.5/libexec/src/runtime/asm_amd64.s:1373
⨯ /Users/tongle3000/Documents/xxxx/projects/react-electron/electron-typescript-react/node_modules/_app-builder-bin@3.5.10@app-builder-bin/mac/app-builder exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE stackTrace=
Error: /Users/tongle3000/Documents/xxxx/projects/react-electron/electron-typescript-react/node_modules/_app-builder-bin@3.5.10@app-builder-bin/mac/app-builder exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
at ChildProcess. (/Users/tongle3000/Documents/xxxx/projects/react-electron/electron-typescript-react/node_modules/_builder-util@22.9.1@builder-util/src/util.ts:243:14)
at Object.onceWrapper (events.js:417:26)
at ChildProcess.emit (events.js:310:20)
at maybeClose (internal/child_process.js:1021:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! electron-react-typescript@1.0.0 package:dist: electron-builder --dir
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the electron-react-typescript@1.0.0 package:dist script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/tongle3000/.npm/_logs/2020-12-09T06_48_31_743Z-debug.log
ERROR: "package:dist" exited with 1.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! electron-react-typescript@1.0.0 package: npm-run-all build package:dist
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the electron-react-typescript@1.0.0 package script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/tongle3000/.npm/_logs/2020-12-09T06_48_31_844Z-debug.log

We did a full refactor to use Electron Forge so now the packaging process is working properly, can you try recreating your project with the new template?