项目运行调试的时候一直报错,查看了项目中所有的js,都没有发现异常。

后来在网上查了很多资料,在博客园的友友们的帮助下终于解决了问题。

错误截图如下:

谷歌浏览器:调试时报错:Cannot read property 'nodeType' of null

 

 

 火狐浏览器:调试时报错:Cannot read property 'nodeType' of null

 调试时报错:Cannot read property 'nodeType' of null

 

 一定要注意关键词:BrowserLink

解决方法:关闭Visual Studio中的“启用链接浏览器”  把这里的√去掉就可以了。

调试时报错:Cannot read property 'nodeType' of null

 

 

详细介绍可以参考:

 

https://blogs.msdn.microsoft.com/webdev/2013/06/28/browser-link-feature-in-visual-studio-preview-2013/

如若转载,请备明出处,谢谢!

本文链接:https://www.cnblogs.com/yifeixue/p/13912925.html

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-22
  • 2021-11-03
  • 2021-07-09
  • 2022-12-23
  • 2021-08-16
  • 2021-10-04
猜你喜欢
  • 2022-12-23
  • 2021-04-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-23
  • 2022-12-23
相关资源
相似解决方案