Unable to solve module `css-tree` from `../react-native-svg/src/css.tsx`
See original GitHub issueBug
Can’t run project via Xcode build. I’ve already removed my node_modules
and installed it again, the error persist.
Environment info
System: OS: macOS 10.15 CPU: (4) x64 Intel® Core™ i5-5257U CPU @ 2.70GHz Memory: 49.55 MB / 8.00 GB Shell: 3.2.57 - /bin/bash Binaries: Node: 12.4.0 - /usr/local/bin/node Yarn: 1.16.0 - /usr/local/bin/yarn npm: 6.10.2 - /usr/local/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman SDKs: iOS SDK: Platforms: iOS 13.0, DriverKit 19.0, macOS 10.15, tvOS 13.0, watchOS 6.0 Android SDK: API Levels: 23, 25, 26, 27, 28, 29 Build Tools: 27.0.3, 28.0.2, 28.0.3, 29.0.1 System Images: android-29 | Google APIs Intel x86 Atom IDEs: Android Studio: 3.4 AI-183.6156.11.34.5692245 Xcode: 11.0/11A420a - /usr/bin/xcodebuild npmPackages: react: 16.8.3 => 16.8.3 react-native: 0.59.9 => 0.59.9 npmGlobalPackages: react-native-clean-project: 3.2.4 react-native-cli: 2.0.1
React native info output:
Failed to load bundle with error: (Unable to solve module `css-tree` from `../react-native-svg/src/css.tsx`: Module `css-tree` doest not exist in the Haste module map
Library version:
"react-native": "0.59.9",
"react-native-svg": "^9.13.0"
Issue Analytics
- State:
- Created 4 years ago
- Comments:7
Top GitHub Comments
Can you try
yarn add css-tree css-select
🎉 This issue has been resolved in version 9.13.2 🎉
The release is available on:
Your semantic-release bot 📦🚀