You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
running pnpm run build fails with a vite error due to an issue with the @mui/material version
[vite]: Rollup failed to resolve import "@mui/system/Unstable_Grid" from "/home/bruth/AppFlowy-Web/node_modules/@mui/material/Unstable_Grid2/Grid2.js".
This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to
`build.rollupOptions.external`
Steps to Reproduce
clone the project at commit 4c71e62 (current main)
make build
Expected Behavior
make build should succeed, ideally without warnings, but we'll settle for without errors :)
[vite]: Rollup failed to resolve import "@mui/system/Unstable_Grid" from "/home/bruth/AppFlowy-Web/node_modules/@mui/material/Unstable_Grid2/Grid2.js".
This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to
`build.rollupOptions.external`
Additional Context
As vite is indicating when it's blowing up on - Grid2.js - @mui/system/Unstable_Grid doesn't exist at this version of @mui/material - switching from 6.0.0-alpha.2 to 6.0.0 seems to fix it, though. The current version of @mui/material is 6.3.1 which also appears to build successfully - whether it "works" I don't know - I haven't run things locally to try them out yet.
The text was updated successfully, but these errors were encountered:
Bug Description
running
pnpm run build
fails with a vite error due to an issue with the@mui/material
versionSteps to Reproduce
4c71e62
(currentmain
)make build
Expected Behavior
make build
should succeed, ideally without warnings, but we'll settle for without errors :)Browser and Version
n/a
AppFlowy Version(s)
4c71e62 (close to 0.1.1)
Screenshots
No response
Logs and Console Output
Additional Context
As
vite
is indicating when it's blowing up on -Grid2.js
-@mui/system/Unstable_Grid
doesn't exist at this version of@mui/material
- switching from6.0.0-alpha.2
to6.0.0
seems to fix it, though. The current version of@mui/material
is6.3.1
which also appears to build successfully - whether it "works" I don't know - I haven't run things locally to try them out yet.The text was updated successfully, but these errors were encountered: