我正在尝试在manjaro KDE linux上构建FSharp.Data.dll
在发生一些小错误后,在build.fsx的第217行键入推断。
首先,如果不赞成使用FAKE,那不应该解决吗? 其次,我可以看到错误代码134与stackoverflow有关。
sudo ./build.sh全部 advarsel:libunwind-1.3.1-2 er opdateret-施普林格 løserafhængigheder... kigger efter konflikter mellem pakker ...
Pakker(1)libunwind-1.3.1-2
子弹装置størrelse:0.26 MiB Nettoopgraderingsstørrelse:0,00 MiB
:::Fortsætmed的安装? [J / n] n(已经知道了) Paket版本6.0.0-alpha050 上次还原仍是最新的。没事做。 性能:
运行顺序为:
组-1
目标持续时间
清洁00:00:00.2701083
AssemblyInfo 00:00:00.0147495
内部版本00:00:00.3267785(dotnet构建失败,代码134)
NuGet 00:00:00(跳过)
BuildTests 00:00:00(跳过)
RunTests 00:00:00(跳过)
所有00:00:00(已跳过)
总计:00:00:00.6523077
System.Reflection.TargetInvocationException:调用的目标引发了异常。 ---> Fake.Core.BuildFailedException:目标“生成”失败。 ---> System.AggregateException:发生一个或多个错误。 (dotnet构建失败,代码为134)---> System.Exception:dotnet构建失败,代码为134
在Microsoft.FSharp.Core.PrintfModule+PrintFormatToStringThenFail@1645 [TResult]。在<5b5a6cc1904cf4daa7450383c16c5a5b>:0中调用(System.String消息)[0x00000]
在Fake.DotNet.DotNet.build(Microsoft.FSharp.Core.FSharpFunc 2[T,TResult] setParams, System.String project) [0x00068] in <5b5f575eccf1c534a74503835e575f5b>:0 at FSI_0005.Build+clo@165-16.Invoke (System.String proj) [0x00005] in <4e926cae0a3648abb70fe31f81695eff>:0 at Microsoft.FSharp.Collections.SeqModule.Iterate[T] (Microsoft.FSharp.Core.FSharpFunc
2 [T,TResult]操作,System.Collections.Generic.IEnumerable 1[T] source) [0x0002c] in <5b5a6cc1904cf4daa7450383c16c5a5b>:0 at FSI_0005.Build+clo@163-15.Invoke (Fake.Core.TargetParameter _arg1) [0x0000a] in <4e926cae0a3648abb70fe31f81695eff>:0 at Fake.Core.TargetModule.runSimpleInternal (Fake.Core.TargetContext context, Fake.Core.Target target) [0x0002b] in <5b5f575eccf1c534a74503835e575f5b>:0 --- End of inner exception stack trace --- --- End of inner exception stack trace --- at Fake.Core.TargetModule.runInternal (System.Boolean singleTarget, System.Int32 parallelJobs, System.String targetName, Microsoft.FSharp.Collections.FSharpList
1 [T] args)处[0x002fa]在<5b5f575eccf1c534a74503835e575f5b>:0中
在Fake.Core.TargetModule.runWithDefault$cont@795-1(System.Boolean allowArgs,Microsoft.FSharp.Core.FSharpFunc 2[T,TResult] fDefault, Microsoft.FSharp.Collections.FSharpMap
2 [TKey,TValue]结果,Microsoft.FSharp.Core.Unit unitVar)中[ 0x001a5]中的<5b5f575eccf1c534a74503835e575f5b>:0
在2[T,TResult] setParams, System.String project) [0x00068] in <5b5f575eccf1c534a74503835e575f5b>:0 at FSI_0005.Build+clo@165-16.Invoke (System.String proj) [0x00005] in <4e926cae0a3648abb70fe31f81695eff>:0 at Microsoft.FSharp.Collections.SeqModule.Iterate[T] (Microsoft.FSharp.Core.FSharpFunc
2 [T,TResult]操作,System.Collections.Generic.IEnumerable 1[T] source) [0x0002c] in <5b5a6cc1904cf4daa7450383c16c5a5b>:0 at FSI_0005.Build+clo@163-15.Invoke (Fake.Core.TargetParameter _arg1) [0x0000a] in <4e926cae0a3648abb70fe31f81695eff>:0 at Fake.Core.TargetModule.runSimpleInternal (Fake.Core.TargetContext context, Fake.Core.Target target) [0x0002b] in <5b5f575eccf1c534a74503835e575f5b>:0 --- End of inner exception stack trace --- --- End of inner exception stack trace --- at Fake.Core.TargetModule.runInternal (System.Boolean singleTarget, System.Int32 parallelJobs, System.String targetName, Microsoft.FSharp.Collections.FSharpList
1 [T] args)处[0x002fa]在<5b5f575eccf1c534a74503835e575f5b>:0中
在Fake.Core.TargetModule.runWithDefault$cont@795-1(System.Boolean allowArgs,Microsoft.FSharp.Core.FSharpFunc 2[T,TResult] fDefault, Microsoft.FSharp.Collections.FSharpMap
2 [TKey,TValue]结果,Microsoft.FSharp.Core.Unit unitVar)中[ 0x001a5]中的<5b5f575eccf1c534a74503835e575f5b>:0
在
答案 0 :(得分:0)
在继续之前解决此问题:
import firebase from 'react-native-firebase';
componentDidMount(){
firebase
.notifications()
.onNotificationOpened((notificationOpen: NotificationOpen) => {
console.log('onNotificationOpened', notificationOpen);
this.handleNotification(notificationOpen.notification, false);
});
}
handleNotification(notification: Notification, appClosed){
//notification will have your custom data and here you can apply your logics
//you can use navigation here according to your logic.
navigatorRef.navigate("routeName");
}
提到的global.json指的是sdk版本fake / dotnet,认为您没有安装。