Code Monkey home page Code Monkey logo

Comments (13)

Sozialarchiv avatar Sozialarchiv commented on June 21, 2024 1

@Janpot Of course. I tried it already with StackBlitz but I could not make. I will create a github repository. I will try to make it as minimal as possible.

from mui-x.

Sozialarchiv avatar Sozialarchiv commented on June 21, 2024 1

https://github.com/Sozialarchiv/charts-commonjs-test

from mui-x.

Sozialarchiv avatar Sozialarchiv commented on June 21, 2024 1

It works with #10272.

Thank you very much.

from mui-x.

Sozialarchiv avatar Sozialarchiv commented on June 21, 2024 1

And thank you for great library, too. The chart part is a very nice addition and completes the stack in a wonderful way.

from mui-x.

LukasTy avatar LukasTy commented on June 21, 2024

Hello, I was unable to reproduce your issue in both StackBlitz as well as locally with the latest release. 🤷
Please provide a minimal reproduction test case with the latest version. This would help a lot. 🙏
A live example would be perfect. This StackBlitz template may be a good starting point. Thank you!

from mui-x.

Sozialarchiv avatar Sozialarchiv commented on June 21, 2024

I am using symfony encore. I will try to create a test case.

from mui-x.

Sozialarchiv avatar Sozialarchiv commented on June 21, 2024

I found the reason:

I changed tsconfig.js in the following way:

before:

{
  "compilerOptions": {
    "module": "commonjs",

after:

{
  "compilerOptions": {
    "module": "esnext",
    "moduleResolution": "node",

and now it is running also with v6.0.0-alpha.8 and v6.0.0-alpha.9. So I guess a change in .8 made it incompatible with commonjs.

from mui-x.

Sozialarchiv avatar Sozialarchiv commented on June 21, 2024

If I revert this commit #10111 it is also working with commonjs

from mui-x.

LukasTy avatar LukasTy commented on June 21, 2024

If I revert this commit #10111 it is also working with commonjs

What if you apply this fix that we are going to release: #10263?

from mui-x.

Sozialarchiv avatar Sozialarchiv commented on June 21, 2024

Unfortunately it is not solving the issue.

Thank you very much for your support.

from mui-x.

Janpot avatar Janpot commented on June 21, 2024

@Sozialarchiv Would you mind sharing a full reproduction? One we can download and run for ourselves? Could you also try it with the changes proposed in #10272?

from mui-x.

Janpot avatar Janpot commented on June 21, 2024

@Sozialarchiv Thank you, this is very helpful! It looks like it works for me after I apply the updates of https://github.com/mui/mui-x/pull/10272/files in ./node_modules/@mui/x-charts/package.json. Could you confirm?

from mui-x.

LukasTy avatar LukasTy commented on June 21, 2024

And thank you for great library, too. The chart part is a very nice addition and completes the stack in a wonderful way.

Thanks and thank you for using the library in such an early stage and helping us solve such issues! 🙏

from mui-x.

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.