GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Error SPAWN unknown when linking · Issue #261 · fullstackreact/react-native-firestack

Error SPAWN unknown when linking #261

New issue
Copy link
New issue
Copy link
Open
Open
Error SPAWN unknown when linking#261
Copy link

Description

@DavidKuennen
DavidKuennen
opened on Jan 24, 2017
Issue body actions

Getting the error "It seems something went wrong while linking. Error: spawn UNKNOWN" when I try to link on Windows 7 using the command "react-native link react-native-firestack".

Reacted by Jesse and Grabster

Activity

  1. mienaikoe commented on Jan 29, 2017

    @mienaikoe
    mienaikoe
    on Jan 29, 2017
    More actions

    Also got this error. On Windows 10.

  2. remiroyc commented on Feb 15, 2017

    @remiroyc
    remiroyc
    on Feb 15, 2017
    More actions

    Same problem here with windows 10.

  3. groke commented on Mar 1, 2017

    @groke
    groke
    on Mar 1, 2017
    More actions

    As per @mienaikoe the solution is in #270

    add

    include ':react-native-firestack'
    project(':react-native-firestack').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-firestack/android')
    

    To settings.gradle

  4. groke
    added a commit that references this issue on Mar 1, 2017

    Add settings.gradle info for Android install

    ed843d0
  5. andreasnilssondev commented on Mar 4, 2017

    @andreasnilssondev
    andreasnilssondev
    on Mar 4, 2017
    More actions

    For anyone still running into issues after trying @groke's suggestion

    Try removing this from node_modules/react-native-firebase/package.json:

        "commands": {
          "prelink": "node_modules/react-native-firestack/bin/prepare.sh",
          "postlink": "node_modules/react-native-firestack/bin/cocoapods.sh"
        },
    

    as suggested here (different package but perhaps same issue?): https://github.com/auth0/react-native-lock/issues/86#issuecomment-241513859

    I guess it works if you just want to get it running, but note that you might need to add it again to make it work in ios as mentioned further down in that issue.

    Reacted by ylac
  6. bramvbilsen commented on Mar 14, 2017

    @bramvbilsen
    bramvbilsen
    on Mar 14, 2017
    More actions

    Still getting this problem after adding the lines to my settings.gradle. Has anyone been able to fix this yet? I'm getting a bunch of errors when I try to do it the manual way as well :(

  7. rahulbhankar786 commented on Sep 19, 2018

    @rahulbhankar786
    rahulbhankar786
    on Sep 19, 2018
    More actions

    please go to node_module/the_package_you_are_linking/package.json

    and remove these lines .
    it will work like a cakewalk.

    "rnpm": {
    "commands": {
    "postlink": "node_modules/react-native-background-fetch/scripts/postlink.js",
    "postunlink": "node_modules/react-native-background-fetch/scripts/postunlink.js"
    }
    },

    Reacted by rahulbhankar786
    Reacted by rahulbhankar786
    Reacted by rahulbhankar786
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

      You are visitor 01402520 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.