leecade / leecade/react-native-swiper
the module './img/1.jpg' could not be found when i use typescript.it is not support typescript?
Open
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 ?
10.13.3
Version
Which versions are you using:
macOs High Sierra
- react-native-swiper v?
"^1.5.13" - react-native v0.?.?
0.54.2
Expected behaviour
find the images
Actual behaviour
could not be found
How to reproduce it>
To help us, please fork this component, modify one example in examples folder to reproduce your issue and include link here.
Steps to reproduce


Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the missing-image error in the examples folder using the reported React Native and react-native-swiper versions, then compare the TypeScript image import with the example's existing asset references. Done means the referenced JPG is found successfully and the reproduction no longer reports that the module could not be found.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native, typescript
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100