-
Notifications
You must be signed in to change notification settings - Fork 0
buildbug - Cryptic error message when buildbug.json file is missing and AwsConfig is used #109
Description
Visibility: Internal only
Severity: low
Description
This error message occurs when trying to buildbug a project that is missing buildbug.json
An error occurred while executing target 'local'
{ [TypeError: Cannot read property 'accessKeyId' of undefined] bugTraced: true }
Bug stack trace:
at Object.Class.extend._constructor (/usr/local/share/npm/lib/node_modules/buildbug/lib/AwsConfig.js:51:34)
at Object.prototype.(anonymous function) as _constructor
at Object.newClass as _class
at Object.Class.extend.s3EnsureBucketTask (/usr/local/share/npm/lib/node_modules/buildbug/lib/module/aws/AwsModule.js:131:25)
at Object.Class.extend.executeTargetTask (/usr/local/share/npm/lib/node_modules/buildbug/lib/flow/ExecuteTarget.js:121:25)
at Object.Class.extend.executeFlow (/usr/local/share/npm/lib/node_modules/buildbug/lib/flow/ExecuteTarget.js:93:14)
at Object.prototype.(anonymous function) as executeFlow
at Object.Class.extend.execute (/usr/local/share/npm/lib/node_modules/buildbug/lib/Flow.js:160:22)
at Object.Class.extend.startNextFlow (/usr/local/share/npm/lib/node_modules/buildbug/lib/Series.js:94:22)
at Object.Class.extend.flowCallback (/usr/local/share/npm/lib/node_modules/buildbug/lib/Series.js:115:18)
-------- Async Break ---------
at /usr/local/share/npm/lib/node_modules/buildbug/lib/Proxy.js:63:50
at Object.Class.extend.completeFlow as _super
at Object.Class.extend.completeFlow (/usr/local/share/npm/lib/node_modules/buildbug/lib/flow/ExecuteTarget.js:80:14)
at Object.prototype.(anonymous function) as completeFlow
at Object.Class.extend.complete (/usr/local/share/npm/lib/node_modules/buildbug/lib/Flow.js:131:19)
at /usr/local/share/npm/lib/node_modules/buildbug/lib/flow/ExecuteTarget.js:122:19
at /usr/local/share/npm/lib/node_modules/buildbug/node_modules/bugunit/lib/BugUnitCli.js:117:13
at /usr/local/share/npm/lib/node_modules/buildbug/node_modules/bugunit/lib/Flow.js:182:32
What should happen
- an error message should appear saying that 'the accessKeyId build property could not be found. Perhaps buildbug.json is missing?'