首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Visual崩溃- Newtonsoft.json Bower错误

Visual崩溃- Newtonsoft.json Bower错误
EN

Stack Overflow用户
提问于 2016-04-19 15:04:50
回答 1查看 356关注 0票数 2

我正在使用VS Community2015,但是当我尝试使用bower (包含bower.json)打开一个项目时,VS会崩溃。事件日志错误和bower.json代码如下所示。当我重命名bower.json时,该项目将打开并正常运行。在其他计算机上,相同的bower.json文件可以正常工作。

我已经卸载和重新安装VS (与所有更新)和Bower。有什么建议能从不崩溃中得到吗?谢谢!

事件查看器错误:

应用程序: devenv.exe框架版本: v4.0.30319描述:进程由于一个未处理的异常而终止。异常信息:在Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType(Newtonsoft.Json.JsonReader,Newtonsoft.Json.Serialization.JsonContract的Newtonsoft.Json.JsonTextReader.ParseValue() at Newtonsoft.Json.JsonTextReader.ReadInternal() at Newtonsoft.Json.JsonTextReader.Read(),在Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(Newtonsoft.Json.JsonReader,System.Type的Newtonsoft.Json.JsonReaderException ),在Newtonsoft.Json.JsonSerializer.DeserializeInternal(Newtonsoft.Json.JsonReader,的布尔)( Newtonsoft.Json.JsonSerializer.DeserializeSystem.__Canon,mscorlib,Version=4.0.0.0,Culture=neutral,PublicKeyToken=b77a5c561934e089 )Microsoft.VisualStudio.Web.PackageManagement.Bower.BowerCommandService+<>c__DisplayClass32_0+d.MoveNext(),System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task),System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task),Microsoft.VisualStudio.Threading.JoinableTask+d__76.MoveNext(),System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task),System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification( Microsoft.VisualStudio.Threading.JoinableTask`1+d__3[System.__Canon,)System.Threading.Tasks.TaskVersion=4.0.0.0,Culture=neutral,System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) at Microsoft.VisualStudio.Web.PackageManagement.Bower.BowerCommandService+d__33.MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) at Microsoft.VisualStudio。Web.PackageManagement.Bower.BowerCommandService+d__34.MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) at Microsoft.VisualStudio.Web.PackageManagement.PackageManagementEventsService+d__13.MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) atMicrosoft.VisualStudio.TaskRunnerExplorer.TaskRunnerManager+d__63.MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) at Microsoft.VisualStudio.TaskRunnerExplorer.TaskRunnerSolutionEventsManager+d__20.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.b__6_0(System.Object) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate,( System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object,System.Delegate,System.Object,Int32,System.Delegate)在System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext,System.Threading.ContextCallback,System.Object,Int32)在System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext,System.Threading.ContextCallback,System.Object,(布尔)在System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext,System.Threading.ContextCallback,System.Object)在MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext,System.Threading.ContextCallback,System.Object)在System.Windows.Threading.DispatcherOperation.Invoke() at System.Windows.Threading.Dispatcher.ProcessQueue() at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr,Int32,IntPtr,IntPtr,Boolean ByRef在MS.Win32.HwndWrapper.WndProc(IntPtr,Int32,MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate,System.Object,Int32)在System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object,System.Delegate,System.Object,Int32,System.Delegate)在System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority,System.TimeSpan,System.Delegate,System.Object,Int32Int32、IntPtr、IntPtr)

Bower.json

代码语言:javascript
复制
{
  "name": "ASP.NET",
  "private": true,
  "dependencies": {
    "angular-filters": "1.1.2",
    "angular-sanitize": "*"
  },
  "resolutions": {
    "angular": "~1.4.0"
  }
}
EN

回答 1

Stack Overflow用户

发布于 2016-05-08 19:30:30

在我的VS2015和update2中也有这个错误,并发现了以下内容:

来自MS的John写了一篇带有KB链接的文章,在这里添加VS更新2的附加补丁:https://blogs.msdn.microsoft.com/visualstudio/2016/05/06/14-reasons-to-download-visual-studio-2015-update-2-today/

我将于明天在我的工作电脑上安装这个,看看它是否能解决保龄球与2015年的碰撞问题。祈祷吧。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/36722302

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档