You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
electron-builder - publish to s3 not working. Added aws id & key and set open permissions to s3 bucket.
Attached Log below. Using npm & cmd - "electron-builder --publish 'always' --win"
• electron-builder version=22.1.0 os=10.0.18362
• loaded configuration file=package.json ("build" field)
• packaging platform=win32 arch=x64 electron=7.0.0 appOutDir=dist\win-unpacked
• asar using is disabled — it is strongly not recommended solution=enable asar and use asarUnpack to unpack files that must be externally available
• empty password will be used for code signing reason=CSC_KEY_PASSWORD is not defined
• signing file=dist\win-unpacked\resources\app\bin\MercuryUI.exe certificateFile=PDI.pfx
• signing file=dist\win-unpacked\resources\app\node_modules\node-windows\bin\winsw\winsw.exe certificateFile=PDI.pfx
• signing file=dist\win-unpacked\resources\app\node_modules\node-windows\bin\sudowin\sudo.exe certificateFile=PDI.pfx
• signing file=dist\win-unpacked\CStorePro Essentials.exe certificateFile=PDI.pfx
• building target=Squirrel.Windows arch=x64 file=dist\squirrel-windows\CStorePro Essentials Setup 1.0.2.exe
• signing file=C:\Users\vishnu\AppData\Local\Temp\t-ecH9Na\squirrel-windows-0\Update.exe certificateFile=PDI.pfx
• signing file=C:\Users\vishnu\AppData\Local\Temp\t-ecH9Na\1-stub.exe certificateFile=PDI.pfx
• signing file=dist\squirrel-windows\CStorePro Essentials Setup 1.0.2.exe certificateFile=PDI.pfx
• publishing publisher=S3 (bucket: temp-mercury-builds)
• uploading file=CStorePro Essentials Setup 1.0.2.exe provider=S3
• uploading file=cstoreproessentials-1.0.2-full.nupkg provider=S3
• uploading file=RELEASES provider=S3
⨯ AccessDenied: Access Denied
status code: 403, request id: BD38840D8D0948D5, host id: PPCrIhmOBbt5hXHvt7KG9ozQaZw1T8a1yJdBqXeFu9XRWluTq9G1Daq5nw1Z5x35WfD4uSEij5s=
github.com/develar/app-builder/pkg/publisher.upload
/Volumes/data/Documents/app-builder/pkg/publisher/s3.go:171
github.com/develar/app-builder/pkg/publisher.ConfigurePublishToS3Command.func1
/Volumes/data/Documents/app-builder/pkg/publisher/s3.go:56
github.com/alecthomas/kingpin.(*actionMixin).applyActions
/Volumes/data/go/pkg/mod/github.com/alecthomas/[email protected]+incompatible/actions.go:28
github.com/alecthomas/kingpin.(*Application).applyActions
/Volumes/data/go/pkg/mod/github.com/alecthomas/[email protected]+incompatible/app.go:557
github.com/alecthomas/kingpin.(*Application).execute
/Volumes/data/go/pkg/mod/github.com/alecthomas/[email protected]+incompatible/app.go:390
github.com/alecthomas/kingpin.(*Application).Parse
/Volumes/data/go/pkg/mod/github.com/alecthomas/[email protected]+incompatible/app.go:222
main.main
/Volumes/data/Documents/app-builder/main.go:90
runtime.main
/usr/local/Cellar/go/1.13/libexec/src/runtime/proc.go:203
runtime.goexit
/usr/local/Cellar/go/1.13/libexec/src/runtime/asm_amd64.s:1357
⨯ AccessDenied: Access Denied
status code: 403, request id: BAEE79A9340CB28A, host id: aSFqdmUQMmUwT/9wPEHK66IpdAr3WlvRXKnFRMKOsN1Y14LKzPG5PUC2cGOUpmJonEMEqdatU24=
github.com/develar/app-builder/pkg/publisher.upload
/Volumes/data/Documents/app-builder/pkg/publisher/s3.go:171
github.com/develar/app-builder/pkg/publisher.ConfigurePublishToS3Command.func1
/Volumes/data/Documents/app-builder/pkg/publisher/s3.go:56
github.com/alecthomas/kingpin.(*actionMixin).applyActions
/Volumes/data/go/pkg/mod/github.com/alecthomas/[email protected]+incompatible/actions.go:28
github.com/alecthomas/kingpin.(*Application).applyActions
/Volumes/data/go/pkg/mod/github.com/alecthomas/[email protected]+incompatible/app.go:557
github.com/alecthomas/kingpin.(*Application).execute
/Volumes/data/go/pkg/mod/github.com/alecthomas/[email protected]+incompatible/app.go:390
github.com/alecthomas/kingpin.(*Application).Parse
/Volumes/data/go/pkg/mod/github.com/alecthomas/[email protected]+incompatible/app.go:222
main.main
/Volumes/data/Documents/app-builder/main.go:90
runtime.main
/usr/local/Cellar/go/1.13/libexec/src/runtime/proc.go:203
runtime.goexit
/usr/local/Cellar/go/1.13/libexec/src/runtime/asm_amd64.s:1357
⨯ AccessDenied: Access Denied
status code: 403, request id: F3AACE5CDE3E5456, host id: PFeH3dKJYKrNuLZr6WtSQ2sF49IaJ4MczPWuu8HFa6bpscjDBvAE9oDyDRwo4+iybnlqJ6dX72c=
github.com/develar/app-builder/pkg/publisher.upload
/Volumes/data/Documents/app-builder/pkg/publisher/s3.go:171
github.com/develar/app-builder/pkg/publisher.ConfigurePublishToS3Command.func1
/Volumes/data/Documents/app-builder/pkg/publisher/s3.go:56
github.com/alecthomas/kingpin.(*actionMixin).applyActions
/Volumes/data/go/pkg/mod/github.com/alecthomas/[email protected]+incompatible/actions.go:28
github.com/alecthomas/kingpin.(*Application).applyActions
/Volumes/data/go/pkg/mod/github.com/alecthomas/[email protected]+incompatible/app.go:557
github.com/alecthomas/kingpin.(*Application).execute
/Volumes/data/go/pkg/mod/github.com/alecthomas/[email protected]+incompatible/app.go:390
github.com/alecthomas/kingpin.(*Application).Parse
/Volumes/data/go/pkg/mod/github.com/alecthomas/[email protected]+incompatible/app.go:222
main.main
/Volumes/data/Documents/app-builder/main.go:90
runtime.main
/usr/local/Cellar/go/1.13/libexec/src/runtime/proc.go:203
runtime.goexit
/usr/local/Cellar/go/1.13/libexec/src/runtime/asm_amd64.s:1357
⨯ Cannot cleanup:
Error #1 --------------------------------------------------------------------------------
Error: C:\Users\vishnu\AppData\Roaming\npm\node_modules\electron-builder\node_modules\app-builder-bin\win\x64\app-builder.exe exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
at ChildProcess.childProcess.once.code (C:\Users\vishnu\AppData\Roaming\npm\node_modules\electron-builder\node_modules\builder-util\src\util.ts:239:14)
at Object.onceWrapper (events.js:273:13)
at ChildProcess.emit (events.js:182:13)
at maybeClose (internal/child_process.js:962:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)
Error #2 --------------------------------------------------------------------------------
Error: C:\Users\vishnu\AppData\Roaming\npm\node_modules\electron-builder\node_modules\app-builder-bin\win\x64\app-builder.exe exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
at ChildProcess.childProcess.once.code (C:\Users\vishnu\AppData\Roaming\npm\node_modules\electron-builder\node_modules\builder-util\src\util.ts:239:14)
at Object.onceWrapper (events.js:273:13)
at ChildProcess.emit (events.js:182:13)
at maybeClose (internal/child_process.js:962:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)
Error #3 --------------------------------------------------------------------------------
Error: C:\Users\vishnu\AppData\Roaming\npm\node_modules\electron-builder\node_modules\app-builder-bin\win\x64\app-builder.exe exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
at ChildProcess.childProcess.once.code (C:\Users\vishnu\AppData\Roaming\npm\node_modules\electron-builder\node_modules\builder-util\src\util.ts:239:14)
at Object.onceWrapper (events.js:273:13)
at ChildProcess.emit (events.js:182:13)
at maybeClose (internal/child_process.js:962:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5) stackTrace=
Error: Cannot cleanup:
Error #1 --------------------------------------------------------------------------------
Error: C:\Users\vishnu\AppData\Roaming\npm\node_modules\electron-builder\node_modules\app-builder-bin\win\x64\app-builder.exe exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
at ChildProcess.childProcess.once.code (C:\Users\vishnu\AppData\Roaming\npm\node_modules\electron-builder\node_modules\builder-util\src\util.ts:239:14)
at Object.onceWrapper (events.js:273:13)
at ChildProcess.emit (events.js:182:13)
at maybeClose (internal/child_process.js:962:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)
Error #2 --------------------------------------------------------------------------------
Error: C:\Users\vishnu\AppData\Roaming\npm\node_modules\electron-builder\node_modules\app-builder-bin\win\x64\app-builder.exe exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
at ChildProcess.childProcess.once.code (C:\Users\vishnu\AppData\Roaming\npm\node_modules\electron-builder\node_modules\builder-util\src\util.ts:239:14)
at Object.onceWrapper (events.js:273:13)
at ChildProcess.emit (events.js:182:13)
at maybeClose (internal/child_process.js:962:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)
Error #3 --------------------------------------------------------------------------------
Error: C:\Users\vishnu\AppData\Roaming\npm\node_modules\electron-builder\node_modules\app-builder-bin\win\x64\app-builder.exe exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
at ChildProcess.childProcess.once.code (C:\Users\vishnu\AppData\Roaming\npm\node_modules\electron-builder\node_modules\builder-util\src\util.ts:239:14)
at Object.onceWrapper (events.js:273:13)
at ChildProcess.emit (events.js:182:13)
at maybeClose (internal/child_process.js:962:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)
at throwError (C:\Users\vishnu\AppData\Roaming\npm\node_modules\electron-builder\node_modules\builder-util\src\asyncTaskManager.ts:90:11)
at checkErrors (C:\Users\vishnu\AppData\Roaming\npm\node_modules\electron-builder\node_modules\builder-util\src\asyncTaskManager.ts:53:9)
at AsyncTaskManager.awaitTasks (C:\Users\vishnu\AppData\Roaming\npm\node_modules\electron-builder\node_modules\builder-util\src\asyncTaskManager.ts:67:7)
at process._tickCallback (internal/process/next_tick.js:68:7)
The text was updated successfully, but these errors were encountered:
electron-builder - publish to s3 not working. Added aws id & key and set open permissions to s3 bucket.
Attached Log below. Using npm & cmd - "electron-builder --publish 'always' --win"
• electron-builder version=22.1.0 os=10.0.18362
• loaded configuration file=package.json ("build" field)
• packaging platform=win32 arch=x64 electron=7.0.0 appOutDir=dist\win-unpacked
• asar using is disabled — it is strongly not recommended solution=enable asar and use asarUnpack to unpack files that must be externally available
• empty password will be used for code signing reason=CSC_KEY_PASSWORD is not defined
• signing file=dist\win-unpacked\resources\app\bin\MercuryUI.exe certificateFile=PDI.pfx
• signing file=dist\win-unpacked\resources\app\node_modules\node-windows\bin\winsw\winsw.exe certificateFile=PDI.pfx
• signing file=dist\win-unpacked\resources\app\node_modules\node-windows\bin\sudowin\sudo.exe certificateFile=PDI.pfx
• signing file=dist\win-unpacked\CStorePro Essentials.exe certificateFile=PDI.pfx
• building target=Squirrel.Windows arch=x64 file=dist\squirrel-windows\CStorePro Essentials Setup 1.0.2.exe
• signing file=C:\Users\vishnu\AppData\Local\Temp\t-ecH9Na\squirrel-windows-0\Update.exe certificateFile=PDI.pfx
• signing file=C:\Users\vishnu\AppData\Local\Temp\t-ecH9Na\1-stub.exe certificateFile=PDI.pfx
• signing file=dist\squirrel-windows\CStorePro Essentials Setup 1.0.2.exe certificateFile=PDI.pfx
• publishing publisher=S3 (bucket: temp-mercury-builds)
• uploading file=CStorePro Essentials Setup 1.0.2.exe provider=S3
• uploading file=cstoreproessentials-1.0.2-full.nupkg provider=S3
• uploading file=RELEASES provider=S3
⨯ AccessDenied: Access Denied
status code: 403, request id: BD38840D8D0948D5, host id: PPCrIhmOBbt5hXHvt7KG9ozQaZw1T8a1yJdBqXeFu9XRWluTq9G1Daq5nw1Z5x35WfD4uSEij5s=
github.com/develar/app-builder/pkg/publisher.upload
/Volumes/data/Documents/app-builder/pkg/publisher/s3.go:171
github.com/develar/app-builder/pkg/publisher.ConfigurePublishToS3Command.func1
/Volumes/data/Documents/app-builder/pkg/publisher/s3.go:56
github.com/alecthomas/kingpin.(*actionMixin).applyActions
/Volumes/data/go/pkg/mod/github.com/alecthomas/[email protected]+incompatible/actions.go:28
github.com/alecthomas/kingpin.(*Application).applyActions
/Volumes/data/go/pkg/mod/github.com/alecthomas/[email protected]+incompatible/app.go:557
github.com/alecthomas/kingpin.(*Application).execute
/Volumes/data/go/pkg/mod/github.com/alecthomas/[email protected]+incompatible/app.go:390
github.com/alecthomas/kingpin.(*Application).Parse
/Volumes/data/go/pkg/mod/github.com/alecthomas/[email protected]+incompatible/app.go:222
main.main
/Volumes/data/Documents/app-builder/main.go:90
runtime.main
/usr/local/Cellar/go/1.13/libexec/src/runtime/proc.go:203
runtime.goexit
/usr/local/Cellar/go/1.13/libexec/src/runtime/asm_amd64.s:1357
⨯ AccessDenied: Access Denied
status code: 403, request id: BAEE79A9340CB28A, host id: aSFqdmUQMmUwT/9wPEHK66IpdAr3WlvRXKnFRMKOsN1Y14LKzPG5PUC2cGOUpmJonEMEqdatU24=
github.com/develar/app-builder/pkg/publisher.upload
/Volumes/data/Documents/app-builder/pkg/publisher/s3.go:171
github.com/develar/app-builder/pkg/publisher.ConfigurePublishToS3Command.func1
/Volumes/data/Documents/app-builder/pkg/publisher/s3.go:56
github.com/alecthomas/kingpin.(*actionMixin).applyActions
/Volumes/data/go/pkg/mod/github.com/alecthomas/[email protected]+incompatible/actions.go:28
github.com/alecthomas/kingpin.(*Application).applyActions
/Volumes/data/go/pkg/mod/github.com/alecthomas/[email protected]+incompatible/app.go:557
github.com/alecthomas/kingpin.(*Application).execute
/Volumes/data/go/pkg/mod/github.com/alecthomas/[email protected]+incompatible/app.go:390
github.com/alecthomas/kingpin.(*Application).Parse
/Volumes/data/go/pkg/mod/github.com/alecthomas/[email protected]+incompatible/app.go:222
main.main
/Volumes/data/Documents/app-builder/main.go:90
runtime.main
/usr/local/Cellar/go/1.13/libexec/src/runtime/proc.go:203
runtime.goexit
/usr/local/Cellar/go/1.13/libexec/src/runtime/asm_amd64.s:1357
⨯ AccessDenied: Access Denied
status code: 403, request id: F3AACE5CDE3E5456, host id: PFeH3dKJYKrNuLZr6WtSQ2sF49IaJ4MczPWuu8HFa6bpscjDBvAE9oDyDRwo4+iybnlqJ6dX72c=
github.com/develar/app-builder/pkg/publisher.upload
/Volumes/data/Documents/app-builder/pkg/publisher/s3.go:171
github.com/develar/app-builder/pkg/publisher.ConfigurePublishToS3Command.func1
/Volumes/data/Documents/app-builder/pkg/publisher/s3.go:56
github.com/alecthomas/kingpin.(*actionMixin).applyActions
/Volumes/data/go/pkg/mod/github.com/alecthomas/[email protected]+incompatible/actions.go:28
github.com/alecthomas/kingpin.(*Application).applyActions
/Volumes/data/go/pkg/mod/github.com/alecthomas/[email protected]+incompatible/app.go:557
github.com/alecthomas/kingpin.(*Application).execute
/Volumes/data/go/pkg/mod/github.com/alecthomas/[email protected]+incompatible/app.go:390
github.com/alecthomas/kingpin.(*Application).Parse
/Volumes/data/go/pkg/mod/github.com/alecthomas/[email protected]+incompatible/app.go:222
main.main
/Volumes/data/Documents/app-builder/main.go:90
runtime.main
/usr/local/Cellar/go/1.13/libexec/src/runtime/proc.go:203
runtime.goexit
/usr/local/Cellar/go/1.13/libexec/src/runtime/asm_amd64.s:1357
⨯ Cannot cleanup:
Error #1 --------------------------------------------------------------------------------
Error: C:\Users\vishnu\AppData\Roaming\npm\node_modules\electron-builder\node_modules\app-builder-bin\win\x64\app-builder.exe exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
at ChildProcess.childProcess.once.code (C:\Users\vishnu\AppData\Roaming\npm\node_modules\electron-builder\node_modules\builder-util\src\util.ts:239:14)
at Object.onceWrapper (events.js:273:13)
at ChildProcess.emit (events.js:182:13)
at maybeClose (internal/child_process.js:962:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)
Error #2 --------------------------------------------------------------------------------
Error: C:\Users\vishnu\AppData\Roaming\npm\node_modules\electron-builder\node_modules\app-builder-bin\win\x64\app-builder.exe exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
at ChildProcess.childProcess.once.code (C:\Users\vishnu\AppData\Roaming\npm\node_modules\electron-builder\node_modules\builder-util\src\util.ts:239:14)
at Object.onceWrapper (events.js:273:13)
at ChildProcess.emit (events.js:182:13)
at maybeClose (internal/child_process.js:962:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)
Error #3 --------------------------------------------------------------------------------
Error: C:\Users\vishnu\AppData\Roaming\npm\node_modules\electron-builder\node_modules\app-builder-bin\win\x64\app-builder.exe exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
at ChildProcess.childProcess.once.code (C:\Users\vishnu\AppData\Roaming\npm\node_modules\electron-builder\node_modules\builder-util\src\util.ts:239:14)
at Object.onceWrapper (events.js:273:13)
at ChildProcess.emit (events.js:182:13)
at maybeClose (internal/child_process.js:962:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5) stackTrace=
Error: Cannot cleanup:
The text was updated successfully, but these errors were encountered: