uniapp console warning DevTools failed to load SourceMap: Could not load content for http://127.0.0.1 problem solving

The console warning in uniapp is a problem with the SourceMap tool used to locate the source code location of the error during development. If you simply want to eliminate this warning, write the first one below. The real solution to the tool problem is The second one (you need to download a plug-in), now I put it here for recording and let myself find out the article address: [Report Bug] The new version of WeChat development tool reports an error, sourcemap does not support - DCloud Questions and Answers

The specific error is as follows:

DevTools failed to parse SourceMap: http://127.0.0.1:35231/.sourcemap/mp-weixin/common/vendor.js.map

 

Solution

1. Just want to remove the warning

DevTools failed to load SourceMap: Could not load content for http://127.0.0.1:39891 - DCloud问答DevTools failed to load SourceMap: Could not load content for http://127.0.0.1:39891 - DevTools failed to load SourceMap: Could not load content for http://127.0.0.1:39891/.sourcemap/mp-weixin/common/vendor.js.map: ...https://ask.dcloud.net.cn/question/149326?notification_id-84803__rf-false__item_id-25486

2. Restore the function of SourceMap tool

Click to enter the address below

Modify the import address of jsSourceMap - DCloud plug-in market Modify the import address of the WeChat applet jsSourceMap https://ext.dcloud.net.cn/plugin?name=gwl-jsSourceMap

 Download this plug-in, follow the plug-in instructions to operate, just fine

Guess you like

Origin blog.csdn.net/a666666000/article/details/126973229