Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to resolve module StyleSheetRegistry #6

Open
lintonye opened this issue Nov 14, 2015 · 20 comments
Open

Unable to resolve module StyleSheetRegistry #6

lintonye opened this issue Nov 14, 2015 · 20 comments

Comments

@lintonye
Copy link

Similar to this, except that it's an error which causes the build in XCode to fail.

This error occurs as of React Native 0.14.2. It works with 0.13.2.

After commenting out the code that uses StyleSheetRegistry, you'll get another similar error regarding `Dimensions'.

@harakhovich
Copy link

Getting the same error.

@jeanregisser
Copy link
Owner

Thanks for reporting!
I havent had the time to update it for RN 0.14
Feel free to send a PR, or I'll fix it in the coming week.

@albertwchang
Copy link

It seems the issue has been resolved by virtue of v0.3.0. However, this version is only available when cloning the repo, not NPM downloading...

@tuneZola
Copy link

+1 I am getting this error also.

@wangdayewjf
Copy link

+1 i have the same problem now

@ericraio
Copy link

ericraio commented Apr 9, 2016

@jeanregisser just needs to update NPM...

In this issue here #8, there is a remedy for this issue

@ahmed1490
Copy link

+1

@ashokseervidev
Copy link

ashokseervidev commented May 25, 2016

Hi All,

I am new to React-Native.

I am getting same error.

Can anyone explain me steps to resolve this issue.

"dependencies": {
      "react": "^15.0.2",
    "react-native": "^0.26.2",
    "react-native-popover": "^0.2.0",
  }

After Updating "react-native-popover": "^0.2.0" with "react-native-popover": "git+https://github.com/jeanregisser/react-native-popover.git" issue is resolved.

Thanks to @ericraio, @Achang28 and @aforty.

After updating react-native-popover to V0.3.0 i am getting undefined is not an object("evaluating "PropTypes.bool") error.

Can any body help me to resolve this issue.

@chrisciszak
Copy link

+1

@aforty
Copy link

aforty commented Aug 9, 2016

@agilityworks-uk's fork of this seems to be further along. I haven't tried it myself but we should probably all go concentrate dev efforts there.

https://github.com/agilityworks-uk/react-native-popover

@duranmla
Copy link

duranmla commented Aug 15, 2016

@aforty that is a better idea, I haven't seem too much participation of the owner recently and will be awesome if all of us contribute with this in a centric place. However, seems like agilitworks doesn't accept issues, so maybe it is not the right place to go don't you think?

@ajoshdee
Copy link

Question: How to have different message for different popovers in a view. I don't want my message to have only "content"

@npomfret
Copy link

How do i add agilityworks-uk version into package.json? I tried

"react-native-popover": "git://github.com/agilityworks-uk/react-native-popover.git#release\/2.2",

But its not correct. What's the syntax?

@aforty
Copy link

aforty commented Sep 13, 2016

"@taw/react-native-popover": "git+https://github.com/agilityworks-uk/react-native-popover.git#release\/2.2",

or

npm i --save git+https://github.com/agilityworks-uk/react-native-popover.git#release\/2.2

@npomfret
Copy link

Thanks, I tried and still nothing. It's just not appearing in my node_modules dir. I see this after install:

├── @taw/react-native-popover@2.2.0  extraneous (git+https://github.com/agilityworks-uk/react-native-popover.git#eca65b548829fbc7e66ba2024da74b99ab7e7167)
└── UNMET PEER DEPENDENCY react-native@0.32.0

I'm using rn 0.32.0

@npomfret
Copy link

Ah, when I tried your second approach it did this (which worked)

"@taw/react-native-popover": "git+https://github.com/agilityworks-uk/react-native-popover.git#release/2.2",

@Lokesh235
Copy link

Lokesh235 commented Dec 8, 2016

I took the latest from git but still not working, getting unable to resolve StyleSheetRegistry error

npm i --save git+https://github.com/agilityworks-uk/react-native-popover.git#release/2.2

I am using react-native v0.33

@YasirSherzad
Copy link

YasirSherzad commented Oct 12, 2017

@Lokesh235 you need to import like this

import Popover from ''@taw/react-native-popover''

@yeomann
Copy link

yeomann commented Jul 20, 2018

2018 and issue is still there waoo

@yanko-ivanov
Copy link

October and still going strong it seems. Just googled my way to this discussion. :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests