Skip to content

Declaration of 'YGValue' must be imported from module 'yoga.yoga.YGNode' before it is required #33815

Closed
@destinyxxl

Description

@destinyxxl

Description

i run a react-navive project, npm install and pod install succeed,when i run the project igot the error

Version

0.67.4

Output of npx react-native info

System:
OS: macOS 10.15.7
CPU: (4) x64 Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz
Memory: 652.55 MB / 8.00 GB
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 18.0.0 - /usr/local/bin/node
Yarn: 1.22.18 - /usr/local/bin/yarn
npm: 8.6.0 - /usr/local/bin/npm
Watchman: 2022.03.21.00 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.11.3 - /Users/fengxiaolin/.rvm/rubies/ruby-2.7.4/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 14.4, DriverKit 20.2, macOS 11.1, tvOS 14.3, watchOS 7.2
Android SDK: Not Found
IDEs:
Android Studio: Not Found
Xcode: 12.4/12D4e - /usr/bin/xcodebuild
Languages:
Java: Not Found
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.2 => 17.0.2
react-native: 0.67.4 => 0.67.4
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found

Steps to reproduce

built framework

Snack, code example, screenshot, or link to a repository

截屏2022-05-12 下午5 42 28

Metadata

Metadata

Assignees

No one assigned

    Labels

    Impact: Errors During BuildNeeds: TaskThis issue has been triaged but it does not have an associated taskPlatform: iOSiOS applications.Priority: LowStaleThere has been a lack of activity on this issue and it may be closed soon.Tech: React Native CoreIssue related to the Core of React NativeType: Old ArchitectureFor issues related to the old architecture

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions