heppyAndriawan
New Pleskian
- Server operating system version
- Ubuntu 20.04.5 LTS
- Plesk version and microupdate number
- Plesk Obsidian v18.0.46
Hi everyone,
I am really new to Plesk, and I am trying to follow the steps from this link below but it seems still not working.
www.plesk.com
1. So first, I exported my Next app by typing npm run build, and after completing I convert everything including the .next folder but except the node module folder to a zip file.
2. after login into Plesk, I upload this file to File Manager in the directory "httpdocs/public/" as I read in the other articles that on Linux the node app only works properly from this directory, so then I create it.
3. After that I install the node extension and setup up the new app below:
![Screenshot 2022-10-31 at 10.10.31.png Screenshot 2022-10-31 at 10.10.31.png](https://talk.plesk.com/data/attachments/20/20549-ad68adfce5ede9f0849831675f32eeb9.jpg)
if I click "Technical details" then it says I need to run the node app with the environment set to development and/or with the friendly error pages option set to "on" to see all the error details.
5. I change the application mode to development and then this shows up. I feel hopeless, and don't know what to do anymore.
![Screenshot 2022-10-31 at 10.22.09.png Screenshot 2022-10-31 at 10.22.09.png](https://talk.plesk.com/data/attachments/20/20553-aaf9eda70b2e779d296629aad4b1e332.jpg)
Can anyone help me, what should I do? I am completely new to this case, I am really open to suggestions to solve this problem.
Thanks in advance.
I am really new to Plesk, and I am trying to follow the steps from this link below but it seems still not working.
![www.plesk.com](https://cdn1.plesk.com/wp-content/uploads/2020/07/02120230/header-blog_1920x400-node.js-on-plesk-obsidian-copy.png)
How to Host Node.js Applications on Plesk Obsidian
On Plesk Obsidian, hosting Node.js applications is easier than ever. See the newest features and installation tips here.
![www.plesk.com](https://cdn1.plesk.com/wp-content/uploads/2020/11/02120824/cropped-Logo_Plesk-32x32.png)
1. So first, I exported my Next app by typing npm run build, and after completing I convert everything including the .next folder but except the node module folder to a zip file.
2. after login into Plesk, I upload this file to File Manager in the directory "httpdocs/public/" as I read in the other articles that on Linux the node app only works properly from this directory, so then I create it.
3. After that I install the node extension and setup up the new app below:
*Node.js version: 18.12.0
*package manager: npm
*Document Root: "httpdocs/public/"
*application mode: production
*Application URL: Website Domain Names, Online Stores & Hosting - Domain.com
*Application Root: "httpdocs/public/"
*application launch file: server.js => ("This is an Express API / listening API router")
*Custom Environment Variables: "some env variable to connect to a database like a host, database name, User name, password"
4. Next step I press "Enable Node.js" to activate the app and install all dependencies by pressing “NPM install” then after all is installed then I click Application URL to check the website but I got this:![Screenshot 2022-10-31 at 10.10.31.png Screenshot 2022-10-31 at 10.10.31.png](https://talk.plesk.com/data/attachments/20/20549-ad68adfce5ede9f0849831675f32eeb9.jpg)
if I click "Technical details" then it says I need to run the node app with the environment set to development and/or with the friendly error pages option set to "on" to see all the error details.
5. I change the application mode to development and then this shows up. I feel hopeless, and don't know what to do anymore.
![Screenshot 2022-10-31 at 10.22.09.png Screenshot 2022-10-31 at 10.22.09.png](https://talk.plesk.com/data/attachments/20/20553-aaf9eda70b2e779d296629aad4b1e332.jpg)
Can anyone help me, what should I do? I am completely new to this case, I am really open to suggestions to solve this problem.
Thanks in advance.