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
TypeError: ini.split is not a function
at Object.string [as parse] (/Users/benisrae/code/cdk-bucket-notifications/aws-cdk/packages/aws-cdk/node_modules/aws-sdk/lib/util.js:197:26)
at SharedIniFile.ensureFileLoaded (/Users/benisrae/code/cdk-bucket-notifications/aws-cdk/packages/aws-cdk/lib/api/util/sdk_ini_file.ts:49:51)
at <anonymous>
The problem is that the call to fs.readFile in sdk_ini_file.ts returns a Buffer and not string as expected by ini.parse.
The text was updated successfully, but these errors were encountered:
Stack trace:
The problem is that the call to
fs.readFile
in sdk_ini_file.ts returns aBuffer
and notstring
as expected byini.parse
.The text was updated successfully, but these errors were encountered: