Aufi Fillah

Results 4 comments of Aufi Fillah

in my case, it was because of different version of next package in each workspace, for example im using `[email protected]` on the first workspace and using `[email protected]` on the second...

I was thinking the same before downgrading my next version, but when I saw both next versions using the same react version I guess I might give it a try....

![Image](https://github.com/user-attachments/assets/ec65baf2-a0be-42fe-8d12-6fc0046f9d09) if u still having this issue, based on this snippets, u should query the schema first and call restore() afterwards. ``` const restored = await documentModel.findOneDeleted({ _id: id })...

for anyone that still having the issue, the DefaultLayout needs a worker like @codingwithashu reply: > No ,but this working > > https://react-pdf-viewer.dev/docs/getting-started/ > > pdfjs-dist version must be same...