Skip to content

SSR: Cannot find module 'react' #1071

Discussion options

You must be logged in to vote

@dennispost99 See vitejs/vite#14158. In the meantime, a workaround you can try is to manually apply the alias to node_modules/@mui/ yourself; quite ugly, but I don't see another option here.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@brillout
Comment options

@dennispost99
Comment options

@brillout
Comment options

@brillout
Comment options

Answer selected by brillout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1070 on August 15, 2023 05:24.