Open PrashanthThugaiah opened 6 years ago
@PrashanthThugaiah I'm also facing the same issue, I will let you know if I figured out the problem.
Hi, I have a temporary fix to this issue.(but, This might cause side effects)
Need to make changes in file: node_modules\aws-sdk\node_modules\crypto-browserify\index.js
changes: comment the following code snippet in the above mentioned file.
each(['createCredentials'
, 'createCipher'
, 'createCipheriv'
, 'createDecipher'
, 'createDecipheriv'
, 'createSign'
, 'createVerify'
, 'createDiffieHellman'
, 'pbkdf2'], function (name) {
exports[name] = function () {
error('sorry,', name, 'is not implemented yet')
}
})
I am working to find permanent fix to this issue.
Any help will be appreciated.
Hi Team, I am using this module(amazon-cognito-identity-js) for my react project(with webpack), This module is creating issue in the production build.
The error is:
Uncaught TypeError: Cannot set property 'createCredentials' of undefined
Note:
Please revert to this issue ASAP on priority. Thank You Best Regards, Prashanth Thugaiah