Image
This article will summarize the development of Add-Ins for Outlook.  Use the basic template using Yeoman and Yeoman Generator. Development environment OS: Windows 11 .Net version: 8.0 Development tool: Visual Studio Code Node.js version: 18.20.4 Yeoman version: 5.0.0 Development language: React, Typescript

[NextJS] Error: Could not find a production build in the '.next' directory. Try building your app with 'next build' before starting the production server

 

■ ISSUE

I created a new project with the npx create-next-app@latest command and ran npm start, but an error occurred.

Error Message

   

■ Solution

The issue was resolved by following the steps below. The error message itself is a message telling you to run it after building.
\> npm run build
\> npm start 

Comments

Popular posts from this blog

Setting up Windows Powershell with Oh-My-Posh

[NETSDK1136] the target platform must be set to windows