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 have a react/webpack/babel project where I'm trying to import aws-amplify. It's the first import in the entry file. It builds fine, but when run, it fails on the import line itself with a stack that ends up in buffer:
index.js:311 Uncaught TypeError: First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.
at fromObject (index.js:311)
at from (index.js:137)
at new Buffer (index.js:113)
at index.js:9
at Array.forEach (<anonymous>)
at Object.<anonymous> (index.js:8)
at Object../node_modules/browserify-sign/browser/index.js (index.js:91)
at __webpack_require__ (bootstrap:709)
at fn (bootstrap:94)
at Object../node_modules/crypto-browserify/index.js (index.js:39)
What is the expected behavior?
Don't fail on import or provide more useful error. I don't see others with this problem so it must be something specific to my situation but I'm at a total loss as to where to start to debug this. Any direction?
Which versions of Amplify, and which browser / OS are affected by this issue? Did this work in previous versions?
amplify@0.4.4, Chrome, Ubuntu. Tried rolling back to previous amplify versions to no avail
You can turn on the debug mode to provide more info for us by setting window.LOG_LEVEL = 'DEBUG'; in your app.
The text was updated successfully, but these errors were encountered:
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
I have a react/webpack/babel project where I'm trying to import aws-amplify. It's the first import in the entry file. It builds fine, but when run, it fails on the import line itself with a stack that ends up in buffer:
What is the expected behavior?
Don't fail on import or provide more useful error. I don't see others with this problem so it must be something specific to my situation but I'm at a total loss as to where to start to debug this. Any direction?
Which versions of Amplify, and which browser / OS are affected by this issue? Did this work in previous versions?
amplify@0.4.4, Chrome, Ubuntu. Tried rolling back to previous amplify versions to no avail
You can turn on the debug mode to provide more info for us by setting
window.LOG_LEVEL = 'DEBUG';
in your app.The text was updated successfully, but these errors were encountered: