Git Product home page Git Product logo

react-native-countdown-clock's People

Contributors

glenhughes avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

codecybe

react-native-countdown-clock's Issues

Naming collision

Hi there!

I should preface this with saying that I am brand new to React Native (and using npm as a package manager).

I have the basic React Native app (the one you get when you run react-native init FooBar), and I wanted to add your countdown clock to it. I ran npm install react-native-countdown-clock --save, and added the import statement and CountdownTimer tag to my index.ios.js. However, I began getting errors from npm about naming collisions.

Besides the countdown clock, my other dependencies are:

    "react": "~15.4.1",
    "react-native": "0.42.0"

And here is the error when running npm start:

jest-haste-map: @providesModule naming collision:
  Duplicate module name: react-native
  Paths: /Users/pbaranay/Desktop/Timer/react/DraftTimer/node_modules/react-native/package.json collides with /Users/pbaranay/Desktop/Timer/react/DraftTimer/node_modules/react-native-countdown-clock/node_modules/react-native/package.json

This warning is caused by a @providesModule declaration with the same name across two different files.
Failed to build DependencyGraph: @providesModule naming collision:
  Duplicate module name: react-native-vector-icons
  Paths: /Users/pbaranay/Desktop/Timer/react/DraftTimer/node_modules/react-native/local-cli/core/__fixtures__/files/package.json collides with /Users/pbaranay/Desktop/Timer/react/DraftTimer/node_modules/react-native-countdown-clock/node_modules/react-native/local-cli/core/__fixtures__/files/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-vector-icons
  Paths: /Users/pbaranay/Desktop/Timer/react/DraftTimer/node_modules/react-native/local-cli/core/__fixtures__/files/package.json collides with /Users/pbaranay/Desktop/Timer/react/DraftTimer/node_modules/react-native-countdown-clock/node_modules/react-native/local-cli/core/__fixtures__/files/package.json

This error is caused by a @providesModule declaration with the same name across two different files.
    at HasteMap._updateHasteMap (/Users/pbaranay/Desktop/Timer/react/DraftTimer/node_modules/react-native/packager/src/node-haste/DependencyGraph/HasteMap.js:158:13)
    at p.getName.then.name (/Users/pbaranay/Desktop/Timer/react/DraftTimer/node_modules/react-native/packager/src/node-haste/DependencyGraph/HasteMap.js:133:31)

I hope this is enough information to help you reproduce, or help me fix whatever error I've caused myself ;)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.