Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find module 'preact/compat' when using the next function #48

Open
FunctionDJ opened this issue Oct 29, 2021 · 0 comments
Open

Cannot find module 'preact/compat' when using the next function #48

FunctionDJ opened this issue Oct 29, 2021 · 0 comments

Comments

@FunctionDJ
Copy link

I have a Nest.js + Next.js setup where Nest calls the next() function to start the framework where i pass withPreact(). However, i get the error Cannot find module 'preact/compat'. I've followed the instructions from the README. What am i doing wrong?

How i'm calling Next:

      this.server = next({
        dev: !isProduction,
        dir: "./src/client",
        conf: withPreact()
      });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant