

- Node.js version: Select your preferred version from the drop-down list.
- Application Mode: Choose development or production from the list. For testing, you can initially use development, later on during launch you can change it to Production.
- Application root: It is the file system location for application files. The entry should be /home/username to form the complete path in the cPanel home directory.
- Application URL: It is the public URL to the application.
-Application Startup file: The initial file will first be loaded while launching the application.
It works. This is how the working application is installed. We need to enhance the environment with the package.json settings file and the npm package manager. Follow the article below for creating package.json file and installing npm.




Code:
{
"name": "app",
"version": "1.0.0",
"description": "My App",
"main": "app.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC"
}



cloudlinux-selector create --json --interpreter nodejs --version 11 --app-root app --domain example.com --app-uri app
cd ~/app
vi package.json
{
"name": "app",
"version": "1.0.0",
"description": "My App",
"main": "app.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC"
}
cloudlinux-selector install-modules --json --interpreter nodejs --user example --app-root app
source /home/example/nodevenv/app/11/bin/activate && cd /home/example/app