DevTools failed to load source map: Could not parse content for http://localhost:8000/index.js.map: Unexpected token ‘<’, "<!DOCTYPE "… is not valid JSON

problem

控制台报错

DevTools failed to load source map: Could not parse content for http://localhost:8000/index.js.map: Unexpected token '<', "<!DOCTYPE "... is not valid JSON

reason

source map 解析问题

solution

setting -> preferences -> 去除勾选 enable javascript source maps

Snipaste_2022-10-10_17-49-16

Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐