Closed akasa9525 closed 5 years ago
@akasa9525 This is a expected behavior. Will this as documentation enhancement.
closing this and referencing in story for node support as we currently do not support running amplify in node
This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs.
Looking for a help forum? We recommend joining the Amplify Community Discord server *-help
channels or Discussions for those types of questions.
I am using Node js - 8.11.3
throws me an error : awsAmplify.configure is not a function But we see in aws-amplify/packages/aws-amplify/src/Common/Amplify.ts at line 28, there is a static function by the name of configure.
I found that this issue is happening because, all the member functions oh the amplify class are wrapped in a json with key as default.
Amplify structure:
so for calling the configure function i had to use awsAmplify.default.configure()
We can remove this default wrapping around the members of amplify class.