Skip to content

Add missing invariant package #164

Closed

Description

@NoelBroda

Looks like lib/firestackModule.js file is using invariant module, but it's not in the package.json file.

I added react-native-firestack to my project and I'm getting this issue.

After run npm install invariant --save I could fixed it and continue working.

Activity

  1. Ehesp commented on Nov 25, 2016

    @Ehesp
    Contributor

    Good spot. I thought React Native installed this anyway which should have caught it. Could you make a PR on this side for it?

  2. NoelBroda commented on Nov 25, 2016

    @NoelBroda
    ContributorAuthor

    Sure! I'll check it tonight

  3. NoelBroda commented on Nov 26, 2016

    @NoelBroda
    ContributorAuthor

    I'm adding "invariant": "^2.2.2", and checking another errors.

  4. NoelBroda commented on Nov 26, 2016

    @NoelBroda
    ContributorAuthor

    @Ehesp which is the invariant version that you are using?
    And which babel-cli version? Looks like you had it installed globally. I want to add it as local package, in devDependency, so everybody can start working with no problems, but, the latest babel-cli version doesn't work.

  5. NoelBroda commented on Nov 26, 2016

    @NoelBroda
    ContributorAuthor

    Oh wait... I just realize you are not using a build. So, npm run build is odd?

  6. NoelBroda commented on Nov 26, 2016

    @NoelBroda
    ContributorAuthor
  7. moooji commented on Jan 14, 2017

    @moooji

    @NoelBroda This can be closed, or?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions