小编Bak*_*rom的帖子

NoCredentialProviders:AWS S3 的电子更新程序中链错误中没有有效的提供程序

我正在尝试使用电子更新程序和AWS S3存储桶来实现我的电子反应应用程序的自动更新。但出现错误:

\n
\xe2\xa8\xaf NoCredentialProviders: no valid providers in chain. Deprecated.\n        For verbose messaging see aws.Config.CredentialsChainVerboseErrors\ngithub.com/develar/app-builder/pkg/publisher.upload\n        Y:/Documents/app-builder/pkg/publisher/s3.go:169\ngithub.com/develar/app-builder/pkg/publisher.ConfigurePublishToS3Command.func1\n        Y:/Documents/app-builder/pkg/publisher/s3.go:57\ngithub.com/alecthomas/kingpin.(*actionMixin).applyActions\n        C:/Users/develar/go/pkg/mod/github.com/alecthomas/kingpin@v2.2.6+incompatible/actions.go:28\ngithub.com/alecthomas/kingpin.(*Application).applyActions\n        C:/Users/develar/go/pkg/mod/github.com/alecthomas/kingpin@v2.2.6+incompatible/app.go:557\ngithub.com/alecthomas/kingpin.(*Application).execute\n        C:/Users/develar/go/pkg/mod/github.com/alecthomas/kingpin@v2.2.6+incompatible/app.go:390\ngithub.com/alecthomas/kingpin.(*Application).Parse\n        C:/Users/develar/go/pkg/mod/github.com/alecthomas/kingpin@v2.2.6+incompatible/app.go:222\nmain.main\n        Y:/Documents/app-builder/main.go:90\nruntime.main\n        c:/go/src/runtime/proc.go:203\nruntime.goexit\n        c:/go/src/runtime/asm_amd64.s:1373  \n  \xe2\xa8\xaf NoCredentialProviders: no valid providers in chain. Deprecated.\n        For verbose messaging see aws.Config.CredentialsChainVerboseErrors\ngithub.com/develar/app-builder/pkg/publisher.upload\n        Y:/Documents/app-builder/pkg/publisher/s3.go:169\ngithub.com/develar/app-builder/pkg/publisher.ConfigurePublishToS3Command.func1\n        Y:/Documents/app-builder/pkg/publisher/s3.go:57\ngithub.com/alecthomas/kingpin.(*actionMixin).applyActions\n        C:/Users/develar/go/pkg/mod/github.com/alecthomas/kingpin@v2.2.6+incompatible/actions.go:28\ngithub.com/alecthomas/kingpin.(*Application).applyActions\n        C:/Users/develar/go/pkg/mod/github.com/alecthomas/kingpin@v2.2.6+incompatible/app.go:557\ngithub.com/alecthomas/kingpin.(*Application).execute\n        C:/Users/develar/go/pkg/mod/github.com/alecthomas/kingpin@v2.2.6+incompatible/app.go:390\ngithub.com/alecthomas/kingpin.(*Application).Parse\n        C:/Users/develar/go/pkg/mod/github.com/alecthomas/kingpin@v2.2.6+incompatible/app.go:222\nmain.main\n        Y:/Documents/app-builder/main.go:90\nruntime.main\n        c:/go/src/runtime/proc.go:203\nruntime.goexit\n        c:/go/src/runtime/asm_amd64.s:1373  \n  \xe2\xa8\xaf Cannot cleanup: \n\nError #1 --------------------------------------------------------------------------------\nError: D:\\directoryofmyapp\\myappname\\node_modules\\app-builder-bin\\win\\x64\\app-builder.exe exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE\n    at ChildProcess.<anonymous> (D:\\directoryofmyapp\\myappname\\node_modules\\builder-util\\src\\util.ts:243:14)\n    at Object.onceWrapper (events.js:422:26)\n    at ChildProcess.emit (events.js:315:20)\n    at maybeClose (internal/child_process.js:1048:16)\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)\n\nError #2 --------------------------------------------------------------------------------\nError: D:\\directoryofmyapp\\myappname\\node_modules\\app-builder-bin\\win\\x64\\app-builder.exe exited with …
Run Code Online (Sandbox Code Playgroud)

amazon-s3 amazon-web-services electron

7
推荐指数
1
解决办法
4万
查看次数

标签 统计

amazon-s3 ×1

amazon-web-services ×1

electron ×1