The tips are as follows:
Error: NetworkError occurred while trying to obtain a resource.
The reason:
Missing mapping file (Sourcemap File)
Solution 1:
Find and open the file, search sourceMappingURL
, delete the code like //# sourceMappingURL=bootstrap.js.map
, and then exit with an error
Add the corresponding map file. In the plug-in download, there will be the corresponding map file under the same directory, and add this file to the path referenced by sourceMappingURL
Extension: What is a Sourcemap file?
Source after the map is js file compression, the location of the file name to replace the corresponding variables such as meta information data file, popular understanding is the Source map is a storage location information of files, the transformed code before each position of the corresponding transformation, when wrong, debugging tool can directly display the original code, rather than the code after the transformation, provides great convenience for developers.
Js the original variable is the map, for example, compressed by variable substitution rules may be replaced with a, then the source map file will keep a record of the mapping information, developers if there is a js error, when debugging browser will by parsing the map file to merge compressed js, so developers can use to debug the code before compression.
The sourcemap file is typically placed in the same directory as the min.js main file.
prompt: source map function requires the support of the browser, such as the mainstream browser Firefox, Chrome, etc. are supported. Firefox is enabled by default. Chrome needs to check the Enable JavaScript Source Maps option in Settings. The new version of Chrome seems to be enabled by default.
Read More:
- Browser prompt: Source mapping error: request failed with status 404 Source URL: http://xxx.js Source mapping URL: jquery.min.map
- The browser console reports failed to load resource: net :: ERR_CONNECTION_RESET, which results in unable to log in
- Attempting to fetch value instead of handling error Internal: failed initializing StreamExecutor for
- In chome browser, console reports an error but does not display it
- Chrome console reports Failed to load resource: net::ERR_BLOCKED_BY_CLIENT one of the solutions
- Solution to prompt resource error when opening DAZ studio
- NetworkError: 500 Internal Server Error
- Su prompt when switching users: resource temporarily unavailable
- Solve the problem of error running console reported by pycharm Python console
- E: Unable to fetch some archives, maybe run apt-get update or try with –fix-missing?
- The vscode installation plug-in liveserver specified browser reported an error and could not be found
- Solution to GitHub desktop login error: failed to fetch
- Ajax can’t download file to browser
- ubuntu-how to solve the error-Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release
- ubuntu executes apt-get update and reports Failed to fetch/replace Ali source
- [Fixed] Chrome Browser Cannot Edit Cookies Issue
- Call to a member function fetch_assoc() on a non-object
- Command prompt window prompt system error 5, access denied?
- A TPM error (7) occurred attempting to read a pcr value
- How to Solve failed Precondition Error: attempting to use uninitialized value beta1_power