Code Monkey home page Code Monkey logo

Comments (6)

breadadams avatar breadadams commented on July 19, 2024

Hi @graphee-gabriel, could you try installing styled-components if you don't have it already?

npm install styled-components --save

We recently moved it to a peer dependency of this library, and therefore it won't be automatically included in your node_modules on install.

from sdk.

graphee-gabriel avatar graphee-gabriel commented on July 19, 2024

Hey @breadadams i had it already installed, following your documentation.
I re-installed to be sure with npm install styled-components --save but still same issue :-(

from sdk.

Kikobeats avatar Kikobeats commented on July 19, 2024

hum what version of react and node are you using?

I installed it and it's working as expected 🤔

from sdk.

breadadams avatar breadadams commented on July 19, 2024

Oh right, I'd forgot the docs had been updated accordingly 😅. Hmm, could you share a larger code example, maybe even a small reproduction site/repo?

I notice in the snippet you posted there's no export default MyTestComponent @graphee-gabriel, I'm guessing this is just from it being an example?

from sdk.

graphee-gabriel avatar graphee-gabriel commented on July 19, 2024

Ok I fixed it, the problem was indeed the node version below 8.
Sorry and thanks again!

from sdk.

breadadams avatar breadadams commented on July 19, 2024

No worries @graphee-gabriel, glad you resolved it! I'll close this for now, don't hesitate to open further issues if you run into any trouble 🙂

from sdk.

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.