Code Monkey home page Code Monkey logo

Comments (7)

Miiiiii7 avatar Miiiiii7 commented on July 22, 2024 1

@michelengelen I added the lib at shared dependencies on vite config and it solved the errors.
Thank you for your help!

from mui-x.

michelengelen avatar michelengelen commented on July 22, 2024

It works for me @Miiiiii7

Screenshot 2024-06-14 at 15 22 27

Could you please try to provide reproduction steps that ensure that the error throws?
Thanks! 🙇🏼

from mui-x.

Miiiiii7 avatar Miiiiii7 commented on July 22, 2024

Hi @michelengelen, it works when running on remote. (port 5173)
But when running from the host, it gets the error. (port 5174)

from mui-x.

michelengelen avatar michelengelen commented on July 22, 2024

That works for me as well (in my case the host opened on http://192.168.2.33:5173/)

Also your error message shows port 5173 🤷🏼

Screenshot 2024-06-14 at 15 56 24

from mui-x.

Miiiiii7 avatar Miiiiii7 commented on July 22, 2024

@michelengelen this is the page error I get when I go to pokemons-home, run npm run dev after running the npm run previewon pokemons-list and open the port 5174
host error

This is the page without the DataGrid:
host without datagrid

from mui-x.

michelengelen avatar michelengelen commented on July 22, 2024

This is not a problem with the grid. This likely is a problem with the vite config.
From the error and a quick look at the docs it seems this is what you are looking for: https://github.com/originjs/vite-plugin-federation?tab=readme-ov-file#shared

from mui-x.

github-actions avatar github-actions commented on July 22, 2024

⚠️ This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue.
Now, if you have additional information related to this issue or things that could help future readers, feel free to leave a comment.

@Miiiiii7: How did we do? Your experience with our support team matters to us. If you have a moment, please share your thoughts in this short Support Satisfaction survey.

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.