Skip to content

Missing assets in published package #3997

@gustavo-shigueo

Description

@gustavo-shigueo

Is there an existing issue for this?

  • I have searched the existing issues

Explain what you did

I installed rne following the installation guide and upon running my app it immediately crashed with an error message indicating that the AirbnbRating component is missing an image asset.

Image

Opening the node_modules folder I was able to confirm that the entire images directory is missing from AirbnbRating so I checked the repo and noticed that it does exist in the src folder, leading me to imagine that this is an issue with the build process being configured to exclude image files

I then proceeded to download the images directory manually from github and pasted it in node_modules/@rneui/dist/AirbnbRating, then I ran the app again and the problem was solved

Expected behavior

App should not immediately crash upon installing rneui;
Images and other assets should be included in the build process

Describe the bug

Assets seem to be excluded from the build process

Steps To Reproduce

1 - Install `@rneui/based` and `@rneui/themmed` as well as their dependencies according to the installation guide
2 - Run your app
3 - Crash

Screenshots

Image

Your Environment

`npx @rneui/envinfo`
  ```
    ## Global Dependencies:

       No related dependency found
     
    ## Local Dependencies:
     
    - @rneui/base : ^4.0.0-rc.8
    - @rneui/themed : ^4.0.0-rc.8
    - react : 18.3.1
    - react-native : 0.77.1
    - @types/react : ^18.2.6
  ```

Metadata

Metadata

Assignees

Type

Projects

Status

Closed or Merged 🏁

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions