How to fix this error?
Could you share the code to your app that would allow the community to reproduce the error.
Looking at the error message, it seems that an imported module is not properly imported. Please see the top answer from this StackOverflow post on how to import and use a module.
Hope this helps!