Systemjs: Promise polyfill no longer loaded since 0.19.42

Created on 20 Jan 2017  路  4Comments  路  Source: systemjs/systemjs

After https://github.com/systemjs/systemjs/commit/afdeb3b693f6c43715932c8c30dac4d07ccf30df#diff-aee44e374b3a8148407e287f2eae402b the Promise polyfill is no longer loaded by SystemJS. This appears to be a breaking change since we use a dependency on ~0.19.26

I relied on the polyfill being loaded by SystemJS as found in the documentation:
"Otherwise, when Promise is not available, SystemJS will attempt to load the system-polyfills.js file located in the dist folder which contains the when.js Promise polyfill."

There is a basic example on our server at:
http://files.vpro.nl/frontend/systemjs-test/test/~~

In IE11 this page throws the following error:

SCRIPT5009: 'Promise' is undefined
File: system.js, Line: 4, Column: 15849

All 4 comments

Thanks, I've posted a 0.19.43 with the fix.

I'm seeing this same issue now on version 20.19

after https://github.com/systemjs/systemjs/commit/f9bf5fc20721b98cb9ad670e110c4f0b34df15ad ?

someone should open this again

Or, you know, include bluebird script on top of everything and forget about the problem while enjoying the best promise library

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dmail picture dmail  路  6Comments

Nedlinin picture Nedlinin  路  7Comments

guybedford picture guybedford  路  7Comments

ArmorDarks picture ArmorDarks  路  7Comments

TheMcMurder picture TheMcMurder  路  3Comments