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
I recently spent a bunch of time debugging an issue where my environment had AWS_SECRET_ACCESS_KEY set for reasons unrelated to the electron project I was working on. This resulted in a very unhelpful error: Error: Please specify "bucket" for "s3" update server which seemed crazy to me because nothing anywhere in my project used s3 or aws. I eventually discovered #1270 which led me to check my env, where I found the AWS_SECRET_ACCESS_KEY.
I suggest that you add an option to disable all implicit detection of build or publish settings, I would much rather specify everything explicitly, as I find this type of magic auto-detection fails in very hard to debug ways. Otherwise, I suggest adding info about what settings have been auto-detected and how, for example: Attempting to publish to s3 because AWS_SECRET_ACCESS_KEY is set. Error: Could not find "bucket" setting.
The text was updated successfully, but these errors were encountered:
Hmm... No, you don't need to set it to null. Env must be not detected if no explicit config for s3.
develar
changed the title
[Feature request] Add option to disable automatic detection of publish settings
Add option to disable automatic detection of publish settings
Mar 6, 2017
I recently spent a bunch of time debugging an issue where my environment had
AWS_SECRET_ACCESS_KEY
set for reasons unrelated to the electron project I was working on. This resulted in a very unhelpful error:Error: Please specify "bucket" for "s3" update server
which seemed crazy to me because nothing anywhere in my project used s3 or aws. I eventually discovered #1270 which led me to check my env, where I found theAWS_SECRET_ACCESS_KEY
.I suggest that you add an option to disable all implicit detection of build or publish settings, I would much rather specify everything explicitly, as I find this type of magic auto-detection fails in very hard to debug ways. Otherwise, I suggest adding info about what settings have been auto-detected and how, for example:
Attempting to publish to s3 because AWS_SECRET_ACCESS_KEY is set. Error: Could not find "bucket" setting.
The text was updated successfully, but these errors were encountered: