Rainbow web sdk Angular error on AWS Amplify
Hello, I'm a new to make a rainbow web app.
I'm building the first rainbow web app on AWS amplify and got the following Angular errors as soon as I modified a code to import "rainbow-web-sdk".
There is no issue while it's running on my local http server. I really appreciate it for your support and help to solve the issue.
Thanks
--
Uncaught Error: [$injector:unpr] http://errors.angularjs.org/1.7.5/$injector/unpr?p0=tProvider%20%3C-%20t%20%3C-%20filesStorageService%20%3C-%20rainbowSDK
at angular.js:99
at angular.js:4905
at Object.d [as get] (angular.js:5065)
at angular.js:4910
at d (angular.js:5065)
at e (angular.js:5090)
at Object.instantiate (angular.js:5134)
at Object.<anonymous> (angular.js:4973)
at Object.invoke (angular.js:5122)
at Object.$get (angular.js:4957)
-
Hello, thank you for your suggestion, however I'm still getting the same errors.
Inside the webpack.config.js under node_modules/react-scripts, I've changed the values of "minimize" and "mangle" to false. Since I'm a new for webapp development I may overlook something, any suggestions are appreciated.Please note that the issue won't happen while running on my local server, I see the problem once I host the app to AWS Amplify.
--
Uncaught Error: [$injector:unpr] http://errors.angularjs.org/1.7.5/$injector/unpr?p0=tProvider%20%3C-%20t%20%3C-%20filesStorageService%20%3C-%20rainbowSDK
at angular.min.js:7
at angular.min.js:46
at Object.d [as get] (angular.min.js:43)
at angular.min.js:46
at d (angular.min.js:43)
at e (angular.min.js:44)
at Object.instantiate (angular.min.js:45)
at Object.<anonymous> (angular.min.js:45)
at Object.invoke (angular.min.js:45)
at Object.$get (angular.min.js:42)
Please sign in to leave a comment.
Comments
4 comments