Got this error after upgrading expo 35 to 36.
Unable to resolve "../../data" from "node_modules/css-tree/lib/syntax/default.js"
I've tried to yarn add css-tree
. This error was gone, but then module react-native-svg
started giving the same error with it's included css-tree
module.
I've tried to upgrad expo-cli
to the latest version and restart terminal. I'm running builds with expo start -c
to ensure cache doesn't affect it. I've tried to delete app from the simulator. Still the same.
I've been able to apply a temporary fix by upgrading css-tree
dependency inside the react-native-svg
, but this is a really wrong way to go as far as I know.
Any ideas?