TVke/react-native-tailwindcss

Failed running npx RNtailwindcss (no such file)

jankeesvw opened this issue · 3 comments

I am trying out react-native-tailwindcss and I ran into an issue setting it up:

$ npx RNtailwindcss
cp: ../react-native-tailwindcss/stubs/defaultConfig.stub.js: No such file or directory

I ran into the same problem earlier today. What I discovered is that the documentation in master is outdated. What you want to run is:

npx tailwind init

And here's the branch with the correct documentation.

TVke commented

Hi @jankeesvw

Could you please provide me the version of react-native-tailwindcss as this works only in the latest version

Greetings
Thomas

I am using:

react-native-tailwindcss@^1.1.9:
  version "1.1.9"

I managed to fix this by creating the file manually.