Closed jassehomar closed 4 years ago
I just came here to post about the same issue. Attempting to run thenpx RNtailwindcss
returns
the same output for me.
Hi everyone. I ran into an error of generating the tailwind.config file. Here is the command below and output:
npx RNtailwindcss cp: cannot stat '../react-native-tailwindcss/stubs/defaultConfig.stub.js': No such file or directory
I was able to generate a tailwind.config file by running
npx tailwind init
If you check out the README.md included with the repository it includes different options for generating the config file with this command.
For those looking for a simple solution, you can just copy one of the files from the stubs
directory in this repo to tailwind.config.js
: https://github.com/TVke/react-native-tailwindcss/tree/master/stubs
Hi everyone. I ran into an error of generating the tailwind.config file. Here is the command below and output: