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

Error setting property 'borderRadius' of RCTText with tag #43: JSON value 'N' of type NSString cannot be converted to NSNumber #35947

Closed
LayMui opened this issue Jan 24, 2023 · 2 comments
Labels
Needs: Triage 🔍 Stale There has been a lack of activity on this issue and it may be closed soon. Type: Upgrade Issue Issues reported from upgrade issue form

Comments

@LayMui
Copy link

LayMui commented Jan 24, 2023

New Version

0.71.3

Old Version

0.67.5

Build Target(s)

iOS Simulator iPhone 13 ios 16.2

Output of react-native info

react-native info
info Fetching system and libraries information...
(node:53982) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
System:
    OS: macOS 13.2.1
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Memory: 101.89 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.19.1 - /usr/local/opt/node@16/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 8.19.3 - /usr/local/opt/node@16/bin/npm
    Watchman: 2023.02.20.00 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.11.3 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1
    Android SDK:
      API Levels: 28, 29, 30, 31, 32
      Build Tools: 28.0.3, 29.0.2, 30.0.2, 31.0.0, 32.0.0, 32.1.0
      System Images: android-30 | Google Play Intel x86 Atom, android-31 | Google APIs Intel x86 Atom_64, android-31 | Google Play Intel x86 Atom_64
      Android NDK: Not Found
  IDEs:
    Android Studio: 2021.1 AI-211.7628.21.2111.8309675
    Xcode: 14.2/14C18 - /usr/bin/xcodebuild
  Languages:
    Java: 11.0.11 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: ^18.2.0 => 18.2.0 
    react-native: ^0.71.3 => 0.71.3 
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Issue and Reproduction Steps

cd ios
open nativeIntegration.xcodeproj
build the project in xcode Version 14.2 (14C18)

Build succeeded but error seen in iOS simulator

Screenshot 2023-01-24 at 7 40 46 PM

2023-01-24 19:39:27.023114+0800 nativeIntegration[12531:137341] [native] Error setting property 'borderRadius' of RCTText with tag #43: JSON value 'N' of type NSString cannot be converted to NSNumber
2023-01-24 19:39:27.080643+0800 nativeIntegration[12531:137341] [native] Error setting property 'borderRadius' of RCTText with tag #77: JSON value 'N' of type NSString cannot be converted to NSNumber
2023-01-24 19:39:26.884350+0800 nativeIntegration[12531:137677] 10.3.0 - [FirebaseCore][I-COR000005] No app has been configured yet.
2023-01-24 19:39:27.093871+0800 nativeIntegration[12531:137341] [native] Error setting property 'borderRadius' of RCTText with tag #113: JSON value 'N' of type NSString cannot be converted to NSNumber
2023-01-24 19:39:27.104308+0800 nativeIntegration[12531:137341] [native] Error setting property 'borderRadius' of RCTText with tag #147: JSON value 'N' of type NSString cannot be converted to NSNumber
2023-01-24 19:39:27.129882+0800 nativeIntegration[12531:137341] [native] [GESTURE HANDLER] Initialize gesture handler for view <RCTRootContentView: 0x7fac7a907680; reactTag: 1; frame = (0 0; 390 844); gestureRecognizers = <NSArray: 0x60000002cde0>; layer = <CALayer: 0x600000ee4b40>>

@LayMui LayMui added Needs: Triage 🔍 Type: Upgrade Issue Issues reported from upgrade issue form labels Jan 24, 2023
@github-actions
Copy link

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Aug 25, 2023
@github-actions
Copy link

github-actions bot commented Sep 1, 2023

This issue was closed because it has been stalled for 7 days with no activity.

@github-actions github-actions bot closed this as completed Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs: Triage 🔍 Stale There has been a lack of activity on this issue and it may be closed soon. Type: Upgrade Issue Issues reported from upgrade issue form
Projects
None yet
Development

No branches or pull requests

1 participant