react-native-popover icon indicating copy to clipboard operation
react-native-popover copied to clipboard

Unable to resolve module StyleSheetRegistry

Open lintonye opened this issue 9 years ago • 20 comments

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'.

lintonye avatar Nov 14 '15 03:11 lintonye

Getting the same error.

harakhovich avatar Nov 14 '15 15:11 harakhovich

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.

jeanregisser avatar Nov 14 '15 15:11 jeanregisser

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...

albertwchang avatar Dec 15 '15 21:12 albertwchang

+1 I am getting this error also.

tuneZola avatar Dec 30 '15 20:12 tuneZola

+1 i have the same problem now

wangdayewjf avatar Mar 26 '16 10:03 wangdayewjf

@jeanregisser just needs to update NPM...

In this issue here https://github.com/jeanregisser/react-native-popover/issues/8, there is a remedy for this issue

ericraio avatar Apr 09 '16 02:04 ericraio

+1

ahmed1490 avatar May 24 '16 07:05 ahmed1490

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.

ashokprogress avatar May 25 '16 17:05 ashokprogress

+1

chrisciszak avatar Aug 09 '16 21:08 chrisciszak

@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

aforty avatar Aug 09 '16 21:08 aforty

@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?

duranmla avatar Aug 15 '16 15:08 duranmla

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

ajoshdee avatar Aug 16 '16 01:08 ajoshdee

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?

npomfret avatar Sep 13 '16 13:09 npomfret

"@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

aforty avatar Sep 13 '16 13:09 aforty

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

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

I'm using rn 0.32.0

npomfret avatar Sep 13 '16 13:09 npomfret

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",

npomfret avatar Sep 13 '16 15:09 npomfret

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

Lokesh235 avatar Dec 08 '16 12:12 Lokesh235

@Lokesh235 you need to import like this

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

YasirSherzad avatar Oct 12 '17 02:10 YasirSherzad

2018 and issue is still there waoo

yeomann avatar Jul 20 '18 10:07 yeomann

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

yanko-ivanov avatar Oct 25 '18 09:10 yanko-ivanov