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?
I have a Nest.js + Next.js setup where Nest calls the
next()
function to start the framework where i passwithPreact()
. However, i get the errorCannot find module 'preact/compat'
. I've followed the instructions from the README. What am i doing wrong?How i'm calling Next: