Closed naartjie closed 6 years ago
I am getting a TypeError: Promise.defer is not a function when I run my consumer using babel-node.
TypeError: Promise.defer is not a function
babel-node
I was thinking of refactoring exchange.js#L100-L106 to new Promise(function(resolve, reject) {...}.
exchange.js#L100-L106
new Promise(function(resolve, reject) {...}
+1
I am getting a
TypeError: Promise.defer is not a function
when I run my consumer usingbabel-node
.I was thinking of refactoring
exchange.js#L100-L106
tonew Promise(function(resolve, reject) {...}
.