Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Files do not exist #12

Closed
AwolDes opened this issue Jan 11, 2020 · 2 comments · Fixed by #13
Closed

Files do not exist #12

AwolDes opened this issue Jan 11, 2020 · 2 comments · Fixed by #13

Comments

@AwolDes
Copy link

AwolDes commented Jan 11, 2020

Hey there

Just installed v1.1.8 in a new react native project and have gotten the following error when running react0native start

error: bundling failed: Error: Unable to resolve module `../stubs/simpleConfig.stub` from `node_modules/react-native-tailwindcss/util/configHandler.js`: 

None of these files exist:
  * node_modules/react-native-tailwindcss/stubs/simpleConfig.stub(.native|.android.js|.native.js|.js|.android.json|.native.json|.json|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx)
  * node_modules/react-native-tailwindcss/stubs/simpleConfig.stub/index(.native|.android.js|.native.js|.js|.android.json|.native.json|.json|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx)

This is what the package looks like in node_modules
image

So it looks like the reference to the stubs directory would throw a missing file error because that directory does not exist.

I am on Ubuntu 18.04, and tried to both npm and yarn install the package with no luck. I also tried to install v1.1.7 of this package and was met with a similar result.

react version: 16.9.0
react-native version: 0.61.5

Any help would be appreciated! Cheers

@TVke
Copy link
Owner

TVke commented Jan 13, 2020

Hi @AwolDes

Sorry for that mistake on my part
After updating to 1.1.9 there should be no more problem
Thank you for noticing this bug

greetings
@TVke

@AwolDes
Copy link
Author

AwolDes commented Jan 19, 2020

Thanks for looking into this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants