leecade / leecade/react-native-swiper

Running examples locally for development

Open
#664 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
10.5k
Forks
2.3k
PR merge metrics
No merged PRs in 30d

Description

Which OS ?

MacOS 10.13.1

Version

Which versions are you using:

  • react-native-swiper 1.5.13
  • react-native v0.48.4
Expected behaviour

I should be able to develop package locally and see live changes without publishing to npm.

Actual behaviour

I get an error the following error.
screen shot 2017-11-17 at 11 23 13 pm
It seems like path to package.sh in package.json is wrong. Change it from:
./node_modules/react-native/packager/packager.sh to
./node_modules/react-native/scripts/packager.sh.

I then get the following error:

screen shot 2017-11-17 at 11 24 15 pm

Steps to reproduce
  1. cd examples
  2. npm i
  3. npm run dev

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in examples/package.json and inspect the npm run dev script and its React Native packager path. Reproduce with npm i followed by npm run dev, then verify that local package changes are picked up without publishing to npm and that the reported startup errors no longer occur.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
mobile-dev, tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.