Error: Could not find a production build in the ‘D:\Projects\bu_admission_system\client\.next’ directory.

It’s a very common problem when you are working on the next js projects. The errors look like this:

Because of just forgot the build before running the application. So you have to build the project first.

npm run build

After Building the project you have to run the project.

npm run start

Now you can see the projects running without any errors and perfectly working… Hope it will help you!

Leave a Reply