question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Promise needs a featurefill import since IE 11 doesn't have native support.

See original GitHub issue

Do you want to request a feature or report a bug?

bug

What is the current behavior?

$ git clone https://github.com/tinymce/tinymce
$ yarn
$ grunt
Running "shell:tsc" (shell) task

Running "tslint:files" (tslint) task
>> ERROR: src/core/main/ts/api/util/Promise.ts:132:12 - Promise needs a featurefill import since IE 11 doesn't have native support.
>> ERROR: src/core/main/ts/api/util/Promise.ts:140:12 - Promise needs a featurefill import since IE 11 doesn't have native support.
>> ERROR: src/core/main/ts/api/util/Promise.ts:171:12 - Promise needs a featurefill import since IE 11 doesn't have native support.
>> ERROR: src/core/main/ts/api/util/Promise.ts:177:12 - Promise needs a featurefill import since IE 11 doesn't have native support.
>> ERROR: src/core/main/ts/api/util/Promise.ts:183:12 - Promise needs a featurefill import since IE 11 doesn't have native support.
>> ERROR: src/themes/silver/demo/ts/components/DialogComponentsDemo.ts:298:21 - Promise needs a featurefill import since IE 11 doesn't have native support.
>> 6 errors and 0 warnings in 1516 files
Warning: Task "tslint:files" failed. Use --force to continue.

Aborted due to warnings.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via fiddle.tinymce.com or similar.

What is the expected behavior?

Which versions of TinyMCE, and which browser / OS are affected by this issue? Did this work in previous versions of TinyMCE?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
TheSpydercommented, May 31, 2019

Sorry. An update was pushed to our TSLint rules before the TinyMCE master branch was ready to be published (we’re about to make a major change that restructures our open source projects into a monorepo).

For now, if you downgrade @ephox/tslint-rules to version 1.0.9 the build will work again. We will consider reverting the rules package until next week if this becomes a major problem.

0reactions
TheSpydercommented, Jun 6, 2019

This should now be fixed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to support promises in Internet Explorer 11?
Use a JS transpiler (like babel) or don't use ES6 features. For Promise support you can use a library like bluebird. (BTW, note...
Read more >
Promise not defined in IE 11 · Issue #436 - GitHub
I'm not using Promise myself, but its one of the packages i am importing. Mix should run on all those too right? npm...
Read more >
Internet Explorer (IE) mode troubleshooting and FAQ
Troubleshooting guide and FAQ for Microsoft Edge Internet Explorer mode.
Read more >
Internet Explorer 11 and Angular 2+ | by Maarten Merken | Agilix
To fix the missing 'includes' method, you need to put this line in your polyfill. ts file: import 'core-js/es7/array';
Read more >
IE11 Dialog Promise Undefined - The Aurelia Discourse
UMD doesn't understand import statement, to support injecting dep to umd, the ProviderPlugin would need to inject dep to AMD, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found