Nextjs, Typescript, antd: TypeError: The 'compilation' argument must be an instance of Compilation

Viewed 1038

I'm trying to set up a nextjs app with typescript and antdesign. I prepared a replica of the error I'm getting. ( Link is below ). The problem happens because I changed the default directory of nextjs and the output directory in next.config.js file. I configured ant design and nextje before and it was fine but now that I started the typescript project I faced this issue. Maybe it's not a typescript thing, however!

TypeError: The 'compilation' argument must be an instance of Compilation Error: Cannot find module '/MyApp/_next/build-manifest.json'

Replica:

Edit nextjs-ts-antd-saga

0 Answers
Related