Giter Site home page Giter Site logo

Comments (27)

alex-martino avatar alex-martino commented on May 29, 2024 19

+1 hitting this on latest expo (48)

from react-native-skeleton-content.

jimmy123A avatar jimmy123A commented on May 29, 2024 9

Just make a new expo project with the latest sdk's and u'll see this error msg pops:

TypeError: _ReanimatedModule.default.configureProps is not a function

from react-native-skeleton-content.

Jorundur avatar Jorundur commented on May 29, 2024 9

@alexZajac Would it be possible to move the these dependencies in the package.json

    "expo-linear-gradient": "^11.4.0",
    "react-native-reanimated": "2.10.0",

to peerDependencies rather than keep them in dependencies? And also not lock the react-native-reanimated version but rather use ^ instead?

Locking the version always requires Expo users who already have react-native-reanimated to add the resolutions field which is not ideal.

from react-native-skeleton-content.

mhr996 avatar mhr996 commented on May 29, 2024 8

Update this sht or delete it, why are you wasting our time?

from react-native-skeleton-content.

reft avatar reft commented on May 29, 2024 5

+1 expo 49 uses react-native-reanimated@~3.3.0. Is this package dead?

I was able to use resolutions ^2.14.4 in expo 48 but this solution no longer works because of the major bump on react-native-reanimated in expo 49.

from react-native-skeleton-content.

xxcisxxc avatar xxcisxxc commented on May 29, 2024 5

+1 expo 49 not worked with the above solutions. expo 48 works by the way

from react-native-skeleton-content.

Narottam04 avatar Narottam04 commented on May 29, 2024 3

Is there any solution to it? I am facing same error when I upgrade my expo SDK from 44 to 45 or 47.

from react-native-skeleton-content.

patrickacioli avatar patrickacioli commented on May 29, 2024 3

Guys, instead of just typing "Same issue here", just try to contribute to community and solve that.

from react-native-skeleton-content.

alexZajac avatar alexZajac commented on May 29, 2024 3

Hi all,

I have some news to share regarding this GitHub repository.

Due to my current capacity constraints, I have made the decision to transfer ownership. This will allow fresh perspectives and new energy to take charge.

If you are interested to take ownership, please reach out!

I also want to express my gratitude for your comments/contributions to the repository!

Thanks!!

from react-native-skeleton-content.

Narottam04 avatar Narottam04 commented on May 29, 2024 2

This PR helped me solve this problem.
software-mansion/react-native-reanimated#3441

Adjusted resolutions in package.json of react-native-reanimated package. There are also instructions for yarn in pr.

"resolutions": { "react-native-reanimated": "^2.9.1" },

from react-native-skeleton-content.

tyrauber avatar tyrauber commented on May 29, 2024 2

Thanks @Narottam04. I found I needed to provide a resolution for expo-linear-gradient as well as it was already used as a dependency:

  "resolutions": {
    "react-native-reanimated": "^2.12.0",
    "expo-linear-gradient": "~12.0.1"
  }

from react-native-skeleton-content.

jakrim avatar jakrim commented on May 29, 2024 2

Looking forward to a resolution here (no pun intended) -> resolution in package.json isn't working, getting this error:
TypeError: undefined is not an object (evaluating 'cppVersion.match')

from react-native-skeleton-content.

GuidoGagliardini avatar GuidoGagliardini commented on May 29, 2024 2

similar behavior in expo SDK 49. I report the error I get.
ERROR TypeError: _ReanimatedModule.default.createNode is not a function (it is undefined), js engine: hermes

from react-native-skeleton-content.

igorcesarcode avatar igorcesarcode commented on May 29, 2024 1

@alexZajac

image

from react-native-skeleton-content.

MarcHbb avatar MarcHbb commented on May 29, 2024 1

Just use moti to create your skeleton, it's easy to use. I've drop this package to use moti.
And perform easier animation than reanimated
https://moti.fyi/

from react-native-skeleton-content.

alexZajac avatar alexZajac commented on May 29, 2024

Hey! Can you provide more information to the bug? We have an issue template 👀

from react-native-skeleton-content.

alexZajac avatar alexZajac commented on May 29, 2024

Thanks for flagging it! I currently have no capacity to fix it, anyone up for a PR?

from react-native-skeleton-content.

igorcesarcode avatar igorcesarcode commented on May 29, 2024

@alexZajac

I found this PR that might be a solution to the problem but as I'm very new to react native I don't know where to start to help with a PR.

Later I will try to follow the description of the PR and give a feedback

software-mansion/react-native-reanimated#3441

from react-native-skeleton-content.

eliusxpol avatar eliusxpol commented on May 29, 2024

The issue is SDK 46 expects reanimated version ~2.9.1. The current package uses an earlier version of reanimated.
It's very odd that in the v1.0.28 the reanimated version is "react-native-reanimated": "2.1.0" and in the v1.0.25 we have "react-native-reanimated": "^2.9.1".
In v1.0.25 when we run yarn why react-native-reanimated we have this:

=> Found "[email protected]"
info Has been hoisted to "react-native-reanimated"
info This module exists because it's specified in "dependencies".
info Disk size without dependencies: "26.39MB"
info Disk size with unique dependencies: "26.62MB"
info Disk size with transitive dependencies: "34.55MB"
info Number of shared dependencies: 42
=> Found "react-native-skeleton-content#[email protected]"
info This module exists because "react-native-skeleton-content" depends on it.
info Disk size without dependencies: "38.87MB"
info Disk size with unique dependencies: "39.07MB"
info Disk size with transitive dependencies: "46.99MB"
info Number of shared dependencies: 40

from react-native-skeleton-content.

MarcHbb avatar MarcHbb commented on May 29, 2024

Same issue with expo 46

from react-native-skeleton-content.

alexZajac avatar alexZajac commented on May 29, 2024

Hi all! Is there anything to update on this packages or can we close this?

from react-native-skeleton-content.

AndresdoSantos avatar AndresdoSantos commented on May 29, 2024

I still can't use it.

I have these dependencies.

"react-native-gesture-handler": "~2.8.0",
"react-native-reanimated": "~2.12.0",
"react-native-skeleton-content": "^1.0.28"

And this resolutions.

"resolutions": {
    "react-native-reanimated": "^2.9.1",
    "expo-linear-gradient": "^12.0.1"
},

And I try to use it like this...

<SkeletonContent
    containerStyle={{ flex: 1, width: 300 }}
    isLoading={!seller}
    layout={[{ key: '1', width: 220, height: 20, marginBottom: 6 }]}
>
    <Header regular="OLÁ" bold={seller!.name} />
</SkeletonContent>

It shows me the following error.

_ReanimatedModule.default.configureProps is not a function

from react-native-skeleton-content.

BrajBliss avatar BrajBliss commented on May 29, 2024

Any fix other than downgrading expo?

from react-native-skeleton-content.

PivaRos avatar PivaRos commented on May 29, 2024

I have the same issue ):

from react-native-skeleton-content.

max-dealing avatar max-dealing commented on May 29, 2024

Same issue here

from react-native-skeleton-content.

tyrauber avatar tyrauber commented on May 29, 2024

Echoing @MarcHbb, Moti Skelton is the way to go. Moti is well maintained and supports reanimated v3. Not a 100% drop-in replacement, but an easy migration.

from react-native-skeleton-content.

alexZajac avatar alexZajac commented on May 29, 2024

Hi all,

I have some news to share regarding this GitHub repository.

Due to my current capacity constraints, I have made the decision to transfer ownership. This will allow fresh perspectives and new energy to take charge.

If you are interested to take ownership, please reach out!

I also want to express my gratitude for your comments/contributions to the repository!

Thanks!!

Hey, as I said here I don't have the bandwidth at the moment to maintain it.
I started this project years ago to learn and I cannot allocate time to it right now.
If you have the solution ready, I would love to review and merge the PR for everyone else.

from react-native-skeleton-content.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.