[Error]: Module not found
I am getting following module not found error. I am using Next JS 14.
@NitinCopods Is it with the latest version?
Indeed. Both Next (using turbo) and react-doc-viewer are on latest versions.
@NitinCopods Is it with the latest version?
@cyntler Yes, It doesn't work with turbo. So I have removed turbo and currently running my app using webpack and it's working.
@cyntler Yes, It doesn't work with turbo. So I have removed turbo and currently running my app using webpack and it's working.
v1.14.1 works with turbo tho.
@cyntler Yes, It doesn't work with turbo. So I have removed turbo and currently running my app using webpack and it's working.
v1.14.1works with turbo tho.
@karimdaghari Okay, I'll create a sandbox for the same and attach it.
OK, so I have to fix module building system again...
ESM, CJS + Webpack, Vite, Turbo, Next, CRA. OMG! Each tool processes it all differently, I think.
Module support in the JS ecosystem is a bit lacking in my opinion...
@NitinCopods Could you check this problem with v1.16.5?
@NitinCopods Could you check this problem with v1.16.5?
Although not the pinged person, I'm also concerned. And, unfortunately the (same, exact) problem still persists. Using the same setup Next 14.2.4 and 1.16.5
@NitinCopods Could you check this problem with v1.16.5?
Although not the pinged perso, I'm also concerned. And, unfortunately the (same, exact) problem still persists. Using the same setup Next
14.2.4and1.16.5
Thanks, ok! I have to prepare this use-case and check it again
A related thread, given that react-pdf is a dep: https://github.com/wojtekmaj/react-pdf/issues/1822