Code Monkey home page Code Monkey logo

Comments (10)

kristerkari avatar kristerkari commented on May 18, 2024

Thanks @trialsNow, which version of React Native are you using?

from react-native-css-modules.

trialsNow avatar trialsNow commented on May 18, 2024

Thanks @kristerkari it is "react-native": "0.57.0"

from react-native-css-modules.

kristerkari avatar kristerkari commented on May 18, 2024

hmm.. that's weird.

Would it be possible for you to upload your project somewhere where I could have a look at it? It's very hard for me to debug the problem without seeing the project setup :)

from react-native-css-modules.

trialsNow avatar trialsNow commented on May 18, 2024

@kristerkari Its a huge project, I will create a sample and put down.
Attached my configs.. please let me know if I missed something.

Archive.zip

from react-native-css-modules.

kristerkari avatar kristerkari commented on May 18, 2024

Thanks! I'll check out the configs and see if something is missing.

from react-native-css-modules.

trialsNow avatar trialsNow commented on May 18, 2024

@kristerkari Thanks
Is there anything I do in my Xcode like linking some libs to make this work?

from react-native-css-modules.

kristerkari avatar kristerkari commented on May 18, 2024

Is there anything I do in my Xcode like linking some libs to make this work?

Nope, the project does not use any native code, so linking is not needed.

from react-native-css-modules.

kristerkari avatar kristerkari commented on May 18, 2024

@trialsNow

I created a new repo with a fresh v0.57.0 React Native app + the config files that you provided + .babelrc changes + an example App.styl file:
kristerkari/css-mod-stylus-setup@16d7b67

Everything seems to work normally, so the error that you are getting has to be coming from somewhere else than the config files.

from react-native-css-modules.

trialsNow avatar trialsNow commented on May 18, 2024

@kristerkari
Thanks for looking at this.I resolved it. I added metro-config 0.49.X version in my package.json manually and installed them. Looks like react native would like its own metro bundler. I replaced all metro folders from my old project and now it works good (I mean I still have issues with my code :) but got past this problem)

Appreciate your quick response. Hoping to get your help as I progress through the stylus.

from react-native-css-modules.

kristerkari avatar kristerkari commented on May 18, 2024

great, just let me know if you run into any issues related to CSS modules / Stylus. 👍

from react-native-css-modules.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.