Skip to content

Error: circular promise resolution chain

benjamingr edited this page Feb 6, 2014 · 4 revisions

Error: circular promise resolution chain

This usually happens when you have a promise that resolves or rejects with itself.

For example: var p = Promise.delay(100).then(function(){ return p}); .

In this case, the promise resolves with itself which was is not intended.