TypeError: Promise Resolver indefinido não é uma função
// Instead of this
const promise = new Promise()
// do this
const promise = new Promise(() => {})
Frightened Flatworm