polyglot.js: Getting TypeError: getPolyfill is not a function after update
Hello!
After the latest update, I’m seeing an error in my code. It looks like the error is actually coming from array.prototype.foreach
but seeing as you recently changed this project to use that code, I figured this is the place to report it. I’ve added a screenshot of the error below:
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 21
Commits related to this issue
- [Fix] remove mjs entry points See https://github.com/airbnb/polyglot.js/issues/162 — committed to es-shims/Array.prototype.forEach by ljharb 3 years ago
node version is 12.16.3. I get the same error for string.prototype.at.
That did it! Thanks so much for your help!
I upgraded to 12.22 and then also to 14.17 and got the same error for both.