Skip to content

Cannot run application when "ui" is using @mui/material #346

Closed Answered by leonardomerlin
AleksandrukTad asked this question in Help
Discussion options

You must be logged in to vote

I ended with a similar error message after adding @org to the packages (including ui, ie. @org/ui).

The problem was that I forget to update the next.config.js with the correct package name:

const withTM = require("next-transpile-modules")(["@org/ui"]);

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@phgoff
Comment options

Answer selected by anthonyshew
Comment options

You must be logged in to vote
1 reply
@cgriffin35
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
7 participants