larsvinter / react-native-awesome-button

A button React Native component supporting showing different states with animations
MIT License
235 stars 47 forks source link

Please remove your node_modules folder... #21

Closed harriswan9a closed 7 years ago

harriswan9a commented 7 years ago

[Warning] Packager is not running ######### Starting Packager ########## ######### Executing command: react-native start --port 8081 --resetCache ########## Scanning 756 folders for symlinks in /Users/harris/MyProject/ReactNative/react-native-iam/node_modules (10ms) ┌────────────────────────────────────────────────────────────────────────────┐ │ Running packager on port 8081. │ │ │ │ Keep this packager running while developing on any JS projects. Feel │ │ free to close this tab and run your own packager instance if you │ │ prefer. │ │ │ │ https://github.com/facebook/react-native │ │ │ └────────────────────────────────────────────────────────────────────────────┘ Looking for JS files in /Users/harris/MyProject/ReactNative/react-native-iam

[2017-02-24 23:57:01] Initializing Packager [2017-02-24 23:57:01] HMR Server listening on /hot

React packager ready.

######### Packager started. ########## jest-haste-map: @providesModule naming collision: Duplicate module name: TouchHistoryMath Paths: /Users/harris/MyProject/ReactNative/react-native-iam/node_modules/react-native/Libraries/Renderer/src/renderers/shared/stack/event/eventPlugins/TouchHistoryMath.js collides with /Users/harris/MyProject/ReactNative/react-native-iam/node_modules/react-native-awesome-button/node_modules/react-native/Libraries/Renderer/src/renderers/shared/stack/event/eventPlugins/TouchHistoryMath.js

This warning is caused by a @providesModule declaration with the same name across two different files. jest-haste-map: @providesModule naming collision: Duplicate module name: ResponderTouchHistoryStore Paths: /Users/1500089a/MyProject/ReactNative/react-native-iam/node_modules/react-native/Libraries/Renderer/src/renderers/shared/stack/event/eventPlugins/ResponderTouchHistoryStore.js collides with /Users/1500089a/MyProject/ReactNative/react-native-iam/node_modules/react-native-awesome-button/node_modules/react-native/Libraries/Renderer/src/renderers/shared/stack/event/eventPlugins/ResponderTouchHistoryStore.js

larsvinter commented 7 years ago

Hi.

Where do you see the node_modules folder? I looked in the "usual" places but it did not look like I had forgotten to remove it (I can't see it on github, only locally.

larsvinter commented 7 years ago

Didn't hear back on this so assume it is solved (I can't see any errors on my side)

timomeh commented 7 years ago

I got the same problem. When installing the package, it also installed react-native 0.41 as dependency. (I guess because of the peer dependency?) I'm using RN 0.42.

You don't need those peer dependencies.

gablorquet commented 7 years ago

Having the same problem happening