Tag Archives: IE

Ie11 reports an error unhandled promise rejection typeerror: the object does not support

The problem of ie11 is the biggest problem. At this time, you should check the most likely place of the problem step by step
I make this error because I use the following code when making type judgment:
toString. Call (svalue)==‘ [object date] ‘
such a writing method is not recognized in ie, and an unhandled promise rejection typeerror will be reported: the object does not support it, so it is necessary to change the writing method

Object.prototype.toString.call(sValue) !== ‘ [object date] ‘
this way of writing is recognized by ie

SCRIPT1002: syntax error File: 0. chunk.js ,SCRIPT5009: ‘Map‘ is undefined File: 0. chunk.js -Solutions

Scene description


The React project starts with NPM run start and works fine in Chrome, Firefox, and Edge, but when Internet explorer opens, the console reports an error with the title
The solution


1.SCRIPT1002: syntax error File: 0. Chunk. Js, Line: 2296, Column: 27
SRC /index.js
add the following and put it on the first line

import 'react-app-polyfill/ie9';
import 'react-app-ployfill/stable;'
import 'fast-text-encoding/text';

Json
find browserslist and add ie9 which is the above support

"browserslist" {
	"production": [
		...,
		"ie>9",
	],
	"development": [
		...
		"ie>9",
	]
},

First, ensure the above module, if not, you can execute NPM install to install
After the module is installed, Internet Explorer opens the project again and the problem is resolved. But then the following problem arises…
2.SCRIPT5022: SyntaxError File: 1. chunk.js, Line: 197681, Column: 38
The error in the Internet Explorer console, the solution:
Open the /node_modules/react - dev - utils/webpackHotDevClient js , in the following code to add slashes: true,

then,
goes into the node_moudles folder, delete all contents of the . Cache folder, and clear the cache in Internet explorer.
SCRIPT5009: 'Map' is File: Map is undefined e.chunk.js, Line: 2340,0 Column: 3
I did not solve this error by myself. Due to the company project, NPM install cannot be run on the server's Intranet. Therefore, I provide ideas and hope you can solve it perfectly.
Official advice: https://reactjs.org/docs/javascript-environment-requirements.html
calculate, this has not been solved, sorry...

res://ieframe.dll/acr_ error.htm Error resolution | IE8 website restore error real feasible solution

Ie8 website restore error real feasible solution, this morning to open the computer, prompted to update the system patch, so the recommended three most important patches installed. On QQ, open the IE8 browser page of QQ space and suddenly switch quickly, and then the website restore error immediately appears, url header res:// IEframe. DLL /acr_error. HTM, after testing QQ space and other interactive websites will appear this problem.

use IE repair, but still not, looked up on the Internet there is no solution, only to see an article that reinstall IE8 can solve this problem. But since it’s a reinstallation of IE, I don’t think this is the solution. At first glance, I suspect the problem was caused by the morning update patch, and the most likely patch is JSON interoperability of Internet Explorer 8.
The real solution to the IE8 web restoration error is to check out the patch on Microsoft’s website: Install this update to improve JSON interoperability with Internet Explorer 8 according to the new ECMAScript (5th edition standard). You may have to restart your computer after installing this update.

solution: remove the JSON interoperability patch for Internet Explorer 8, the patch number KB976662. First go to the control panel – Add/remove program – display update – find the number KB976662 – delete.

ie8 website restore error really feasible solution, delete need to restart, after the test QQ space and other interactive website open normal. Above method is original, in WIN2003+IE8 under the test is feasible.