Comments (7)
@michelengelen I added the lib at shared dependencies on vite config and it solved the errors.
Thank you for your help!
from mui-x.
It works for me @Miiiiii7
![Screenshot 2024-06-14 at 15 22 27](https://private-user-images.githubusercontent.com/32863416/339779547-d40c539f-0721-4fa9-8ade-5a3e14036826.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE0ODI3NDIsIm5iZiI6MTcyMTQ4MjQ0MiwicGF0aCI6Ii8zMjg2MzQxNi8zMzk3Nzk1NDctZDQwYzUzOWYtMDcyMS00ZmE5LThhZGUtNWEzZTE0MDM2ODI2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzIwVDEzMzQwMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWMxY2JiZTM5YTMwMzU0NzA4OWU4NzE2NDE1MDQwNzY4OTIyNzFkMmQwY2JiNWFiNWIzYmUyMTAwYWIwNzgzOWMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.tNOjMmtubT0GDDPIxRUmC6Zk32YTI6sSaoVnDY8gl40)
Could you please try to provide reproduction steps that ensure that the error throws?
Thanks! 🙇🏼
from mui-x.
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.
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](https://private-user-images.githubusercontent.com/32863416/339790223-a565d3b1-0f23-4c75-8586-c0b70a6a0d4c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE0ODI3NDIsIm5iZiI6MTcyMTQ4MjQ0MiwicGF0aCI6Ii8zMjg2MzQxNi8zMzk3OTAyMjMtYTU2NWQzYjEtMGYyMy00Yzc1LTg1ODYtYzBiNzBhNmEwZDRjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzIwVDEzMzQwMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQzYjE0MDgwODcwZmQ4MDY4NzY4M2VjNjQwNGRmYmZlNjQ0N2MyZTRlNTI2MjJkNWUyOWJkOWQ0ODc1NzQwZWYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.4cZiPtTJ1Czk4DWYym5Bk0moAYmG2C26v52TFTnVgRU)
from mui-x.
@michelengelen this is the page error I get when I go to pokemons-home, run npm run dev
after running the npm run preview
on pokemons-list and open the port 5174
This is the page without the DataGrid:
from mui-x.
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.
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)
- [data grid] CSV export adds malformed/buggy characters HOT 2
- [TreeView] Expose the item slots at the tree view level
- [data grid] Is Clipboard cut available? HOT 1
- [data grid] Save / Restore state with dynamic columns HOT 1
- [pickers] dayjs with default timezone broke picker HOT 2
- [pickers] Page fails to load Date Picker Component with Joy UI using CssVarsProvider Wrapper HOT 5
- [charts] Improve default color contrast in dark mode HOT 5
- [RFC] Move to a more modular structure for tests in code and CI HOT 2
- Add Audio Player/Waveform component HOT 2
- [charts] Cannot scroll the page when touch inside the chart HOT 4
- [data grid] Pivoting ETA HOT 4
- Pie Chart shows a slice for 0 value whenever the object representing a 0 is last in the array HOT 2
- [DataGrid] CSV export negative numbers in string has quotation HOT 3
- [data grid] Is there a way to override the default copy/paste functionality in DataGrid? HOT 3
- New sets of components HOT 2
- [charts] BarChart legend overlaps charts area HOT 2
- [pickers] Recipes
- [data grid] I want to add Apply and Cancel buttons to the GridToolbarFilterButton HOT 2
- [pickers][DateTimeRangePicker] Manually selecting the date then selecting the time in the popover reverts the date to today HOT 1
- [charts] Support single color area chart HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mui-x.