Open ashinlaurel opened 4 years ago
Hi @ashinlaurel
with version of react-native-tailwind is this as there was a similar problem in an older version
greetings Thomas
This occurred in version 1.1.9 And i commented the following lines in configHandler.js and this error disappeared.
Yes @ashinlaurel
This is true but do you have a config file? Because when you comment out that line it will not load a custom config file I suggest uncommenting that line and adding a config file (even an empty one is oké) e.g.:
module.exports = {
theme: {
extend: {},
},
}
greetings Thomas
Yup that seemed to solve the problem. And it would be great if this file is created by default when this package is installed.
hi @ashinlaurel
That's a good idea I have no idea how to do this but I would gladly accept a PR for this.
greetings Thomas
Would love to work on this! A friend of mine told me it's still up to date, I will submit a pr right away.
I am getting the following error - Unable to resolve "../../../tailwind.config" from "node_modules/react-native-tailwindcss/util/configHandler.js"
Please do look into it