Webstorm使用时发生Page 'http://localhost:63340/n…tok/css/bootstrap.css.map' requested without authorization, you can copy URL and open it in browser to trust it.

2019-01-24 14:11:00  浏览:1857  作者:管理员

在使用webstorm编辑器开发时候,点击4处发生以下错误:

Page 'http://localhost:63340/n…tok/css/bootstrap.css.map' requested without authorization,  you can copy URL and open it in browser to trust it.

之前在1处文件夹,因引入了bootstrap集合包,含有bootstrap.css.map 这个文件,但是被我删除了,按理说已经删除了  2处也没引用,1处也不存在,百思不得解;

后来偶然打开 bootstrap.css 这个文件(如图二),ctr + F搜索 bootstrap.css.map 发现文末有一段注释引用,尝试删除后,再点击4处,已无报错!

所以原因在于:bootstrap.css引有map的路径,删除即可!!!

 

评论区

共 0 条评论
  • 这篇文章还没有收到评论,赶紧来抢沙发吧~

【随机新闻】

返回顶部