Promise.allSettled polyfill install npm i promise-all-settled-polyfill import CommonJS: require('promise-all-settled-polyfill') ES module: import 'promise-all-settled-polyfill'