版本未能建立DependencyGraph並未能建立DependencyGraph
"react": "16.0.0-alpha.6",
"react-native": "0.43.4",
"react-native-router-flux": "^3.38.1"
一切工作完美,但安裝後react-native-router-flux
所有人都死給太多的錯誤。
Failed to build DependencyGraph: @providesModule naming collision:
Duplicate module name: react-native
Paths: C:\Users\ashik\Desktop\react_apps\Friends\node_modules\react-native-router-flux\node_modules\react-native\
ackage.json collides with C:\Users\ashik\Desktop\react_apps\Friends\node_modules\react-native\package.json
This error is caused by a @providesModule declaration with the same name across two different files.
Error: @providesModule naming collision:
Duplicate module name: react-native
Paths: C:\Users\ashik\Desktop\react_apps\Friends\node_modules\react-native-router-flux\node_modules\react-native\
ackage.json collides with C:\Users\ashik\Desktop\react_apps\Friends\node_modules\react-native\package.json
我已經得到太多的問題和答案像這樣的錯誤,但是,我的陣營原生版本和錯誤不會是相同的或者我不明白的解決方案。請爲我製作一些更好的解決方案或細節。另外我是React-native中的新成員,並對Js做出反應。
#Pedro_Castilho非常感謝你.....真的很幫助我,節省了我太多的時間儘管我已經嘗試了兩個多小時。 :) 我是** React-native **中的新人,如果你給我任何關於我的課程的建議,那對我來說將會很棒。 –