nodejs:nextjs-example
This is an old revision of the document!
How to run Next.js on N99panel
Here we would provide by an example of how to setup a Next.js app. As Next.js requires NodeJS version 18 or above on the command line, kindly follow the article, How to change the default version of node or NodeJS CLI for a user, to set your command line NodeJS version to 18. Importantly, when you link the App from within N99panel’s console, please use ‘/’ as the value for ‘App Web Path’ . If you plan to run it on sub-url like /app1 , please design your App accordingly.
The example which we are going to follow in this case is mentioned at https://nextjs.org/learn-pages-router/basics/create-nextjs-app/setup . To properly deploy this Next.js app, we need to take these steps.
nodejs/nextjs-example.1712372174.txt.gz · Last modified: 2024/04/06 02:56 by kirtisingh