joltup / rn-fetch-blob

A project committed to making file access and data transfer easier, efficient for React Native developers.
MIT License
2.81k stars 771 forks source link

ERROR Invariant Violation: View config getter callback for component `amplify-authenticator` must be a function (received `undefined`). Make sure to start component names with a capital letter. #744

Open minimatsu opened 2 years ago

minimatsu commented 2 years ago

PLEASE HELP

var invariant = function(condition, format, a, b, c, d, e, f) { if (process.env.NODE_ENV !== 'production') { if (format === undefined) { throw new Error('invariant requires an error message argument'); } }

if (!condition) { var error; if (format === undefined) { error = new Error( 'Minified exception occurred; use the non-minified dev environment ' + 'for the full error message and additional helpful warnings.' ); } else { var args = [a, b, c, d, e, f]; var argIndex = 0; error = new Error( format.replace(/%s/g, function() { return args[argIndex++]; }) ); error.name = 'Invariant Violation'; }

error.framesToPop = 1; // we don't care about invariant's own frame
throw error;

} };

module.exports = invariant;

retyui commented 2 years ago

This module is unmentionable ⚠️! please use fork: https://github.com/RonRadtke/react-native-blob-util