Skip to content

After Install react-native-router-flux it's give me error  #1815

Closed
@ashikjs

Description

@ashikjs

I was get same error post but I am understand what i can do or What i have to do now, Please help me.

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\p
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\p
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.
at HasteMap._updateHasteMap (C:/Users/ashik/Desktop/react_apps/Friends/node_modules/react-native/packager/src/no
de-haste/DependencyGraph/HasteMap.js:159:13)
at p.getName.then.name (C:/Users/ashik/Desktop/react_apps/Friends/node_modules/react-native/packager/src/node-ha
ste/DependencyGraph/HasteMap.js:134:31)

C:\Users\ashik\Desktop\react_apps\Friends>Failed to build DependencyGraph: @providesModule naming collision:
'Failed' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\ashik\Desktop\react_apps\Friends> Duplicate module name: react-native
'Duplicate' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\ashik\Desktop\react_apps\Friends> Paths: C:\Users\ashik\Desktop\react_apps\Friends\node_modules\react-nati
ve-router-flux\node_modules\react-
'Paths:' is not recognized as an internal or external command,
operable program or batch file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions