GithubHelp home page GithubHelp logo

Comments (3)

mrmckeb avatar mrmckeb commented on July 17, 2024

Hi @val-o, can you provide an example that I can test against? I can then work on a fix :)

from presets.

mkinfrared avatar mkinfrared commented on July 17, 2024

I have same issue. Unfortunately I cannot provide any examples, but I guess the easiest way to reproduce it is to run npx create-react-app demo --typescript and then configure tsconfig.json to have baseUrl: "src". Any component that has a non-relative path ends up with this issue

TypeError: Cannot read property 'secondary' of undefined at http://localhost:9009/main.1b5867a66c58acd044d5.bundle.js:451:73 at flatten (http://localhost:9009/vendors~main.1b5867a66c58acd044d5.bundle.js:183884:21) at ComponentStyle.generateAndInjectStyles (http://localhost:9009/vendors~main.1b5867a66c58acd044d5.bundle.js:184127:27) at useInjectedStyle (http://localhost:9009/vendors~main.1b5867a66c58acd044d5.bundle.js:184341:120) at useStyledComponentImpl (http://localhost:9009/vendors~main.1b5867a66c58acd044d5.bundle.js:184368:28) at Input__Label (http://localhost:9009/vendors~main.1b5867a66c58acd044d5.bundle.js:184421:12) at renderWithHooks (http://localhost:9009/vendors~main.1b5867a66c58acd044d5.bundle.js:138075:18) at updateForwardRef (http://localhost:9009/vendors~main.1b5867a66c58acd044d5.bundle.js:140090:20) at beginWork (http://localhost:9009/vendors~main.1b5867a66c58acd044d5.bundle.js:141928:16) at HTMLUnknownElement.callCallback (http://localhost:9009/vendors~main.1b5867a66c58acd044d5.bundle.js:123438:14)

from presets.

mrmckeb avatar mrmckeb commented on July 17, 2024

@mkinfrared, I just tried that in one of our example projects and it worked as expected.

image

Can you create a minimal repro repo - or provide more details?

from presets.

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.