ianmontOriginal post
Rank 3: Container
Im trying to execute a function but every time it fails saying "getAllModules.then is not a function".
What could be happening?
I will attach an image of my code to this message in case it helps
Summary
The user is having trouble with a function that throws an error "getAllModules.then is not a function". There are two links provided for further reading about promises and async/await. The user is advised to return the promise instead of using `await` in their code. No solution is provided in the thread, so further troubleshooting may be needed.