最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Browser Link: Failed to invoke return value callback: TypeError: Cannot read property 'files' of nu

programmeradmin2浏览0评论

Background:

Using Visual Studio 2015, ASP.NET Core 1.0 I have created Web Application project. When I run application and go to Chrome Console I have following error:

Browser Link: Failed to invoke return value callback: TypeError: Cannot read property 'files' of null

Question:

How to fix above error and make Browser Link working?

Background:

Using Visual Studio 2015, ASP.NET Core 1.0 I have created Web Application project. When I run application and go to Chrome Console I have following error:

Browser Link: Failed to invoke return value callback: TypeError: Cannot read property 'files' of null

Question:

How to fix above error and make Browser Link working?

Share Improve this question asked Jun 27, 2016 at 21:26 MaciejLisCKMaciejLisCK 3,9945 gold badges33 silver badges40 bronze badges 6
  • 4 Could you possibly include some code in your question, please? It is hard to help you if you haven't included some code – Geoff James Commented Jun 27, 2016 at 21:27
  • 2 Weeeeellll, that all depends on the code that's throwing the error. Could you add the offending code to your question? – Mike Cluck Commented Jun 27, 2016 at 21:27
  • 1 It is the default project, I did not make any amends to it. Project did have a lot of files included, it is hard for me to find out which is causing a problem. – MaciejLisCK Commented Jun 27, 2016 at 21:28
  • 1 It looks like there is a bug in Visual Studio Browser Link functionality. – MaciejLisCK Commented Jun 27, 2016 at 21:31
  • 1 The error in the console ought to tell you where the bug is ing from. Click on the file link to the right of the error message. – Mike Cluck Commented Jun 27, 2016 at 21:35
 |  Show 1 more ment

2 Answers 2

Reset to default 1

In visual studio right of the play button should be button with an arrow going around in a circle. Under here are some options for Browser Link, you can try "Refresh Linked Browsers", and if that doesn't work there is a tick box to turn it off "Enable Browser Link"

This link might also be useful: https://learn.microsoft./en-us/aspnet/visual-studio/overview/2013/using-browser-link

I had the same issue. It went away when i did a repair on Visual Studio

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论