Can't get version 8.1.0 to run in IE11
See original GitHub issueThis might be as simple as a one word answer: “no”, but I can’t find anywhere explicitly stating it.
The version of Ajv you are using 8.0.1 The environment you have the problem with Internet Explorer 11 Your code (please make it as small as possible to reproduce the issue)
const options = {
code: { es5: true },
};
const ajv = new Ajv(options);
ajv.compile(schema);
ajv.validate(formData);
It breaks on the class
declaration.
I have tried transpiling it with babel:
module: {
rules: [
{
test: /node\_modules\/.*(ajv)\/.*\.js$/
use: {
loader: 'babel-loader',
options: { presets: '@babel/preset-env' }
}
}
]
}
As well as adding targets: { ie: '11' }
.
There are various subsequent errors, but eventually I got stuck on it not accepting the pattern
key in a JSON schema: with or without a RexExp around the compileSchema function.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
How Install IE 11 in Windows 8.0 - TechNet
IE 11 isn't available for Windows 8. You can install it on Windows 7 and 8.1 (and their equivalent server versions), but Microsoft...
Read more >Resolving Issues in Internet Explorer 11 (Windows 8) - YouTube
Your browser can't play this video. Learn more. Switch camera.
Read more >Status update on IE10/11 support with 8.1 - BMC Communities
I have the same 8.1.0 p2 on production and 8.1.01 (SP1) on test server and it works on test server with IE11 and...
Read more >How do I upgrade IE 10 to IE 11 on Windows 8? - Super User
Windows 10 cannot exist on Windows 8.1, IE 11 is built into it, if you have IE 10 then you don't actually have...
Read more >3 Ways to Update Microsoft Internet Explorer - wikiHow
1. Go to the Internet Explorer 11 download page at https://support.microsoft.com/en-us/help/18520/download-internet-explorer-11-offline-installer. In a web ... 2. Scroll down to your preferred language. You'll...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That was exactly the issue! IE11 works fine with:
Thank you!
Hope this is in the right place for you @epoberezkin