forked from joltup/rn-fetch-blob
-
Notifications
You must be signed in to change notification settings - Fork 154
Open
Description
Hello,
I was trying to update react-native-blob-utils to 0.22.0 version, but I faced issue with running my app.
react-native: 0.78.2
react-native-windows: 0.78.5
> npx @react-native-community/cli run-windows
...
21>C:\App\node_modules\react-native\ReactCommon\cxxreact\NativeToJsBridge.cpp(197,5): error C4996: 'facebook::react::SystraceSection': Use TraceSection [C:\App\node_modules\react-native-blob-util\node_modules\react-native-windows\ReactCommon\ReactCommon.vcxproj](compiling source file '../../../../react-native/ReactCommon/cxxreact/NativeToJsBridge.cpp')
21>C:\App\node_modules\react-native\ReactCommon\cxxreact\NativeToJsBridge.cpp(197,22): error C4996: 'facebook::react::SystraceSection::SystraceSection': Use TraceSection [C:\App\node_modules\react-native-blob-util\node_modules\react-native-windows\ReactCommon\ReactCommon.vcxproj](compiling source file '../../../../react-native/ReactCommon/cxxreact/NativeToJsBridge.cpp')
21>C:\App\node_modules\react-native\ReactCommon\cxxreact\NativeToJsBridge.cpp(232,9): error C4996: 'facebook::react::SystraceSection': Use TraceSection [C:\App\node_modules\react-native-blob-util\node_modules\react-native-windows\ReactCommon\ReactCommon.vcxproj](compiling source file '../../../../react-native/ReactCommon/cxxreact/NativeToJsBridge.cpp')
21>C:\App\node_modules\react-native\ReactCommon\cxxreact\NativeToJsBridge.cpp(232,26): error C4996: 'facebook::react::SystraceSection::SystraceSection': Use TraceSection [C:\App\node_modules\react-native-blob-util\node_modules\react-native-windows\ReactCommon\ReactCommon.vcxproj](compiling source file '../../../../react-native/ReactCommon/cxxreact/NativeToJsBridge.cpp')
...
Running in Visual Studio gives this errors
Severity Code Description Project File Line Suppression State Details
Error MIDL5157 [msg]An invalid winmd file was specified for import [context]: C:\App\node_modules\react-native-blob-util\node_modules\react-native-windows\target\x64\Debug\Microsoft.ReactNative\Microsoft.ReactNative.winmd ReactNativeBlobUtil C:\App\node_modules\react-native-blob-util\windows\ReactNativeBlobUtil\ReactPackageProvider.idl 1
Error MIDL5157 [msg]An invalid winmd file was specified for import [context]: C:\App\windows\x64\Debug\ReactNativeBlobUtil.winmd app C:\App\windows\app\App.idl 1
Error MIDL1001 [msg]cannot open input file [context]Error opening or processing WinMD c:\app\node_modules\react-native-blob-util\node_modules\react-native-windows\target\x64\debug\microsoft.reactnative\microsoft.reactnative.winmd. HRESULT 0x80070003. ReactNativeBlobUtil C:\App\node_modules\react-native-blob-util\windows\ReactNativeBlobUtil\midlrt 1
Error MIDL1001 [msg]cannot open input file [context]Error opening or processing WinMD c:\app\windows\x64\debug\reactnativeblobutil.winmd. HRESULT 0x80070002. app C:\App\windows\app\midlrt 1
Version 0.21.3 works fine with react-native 0.78.x
Any ideas how to solve this?
Metadata
Metadata
Assignees
Labels
No labels