'How to start nuxt.js on plesk?

I'm trying to start a nuxt.js project on Plesk. Plesk need a Application Startup File, but nuxt.js have no index file.

Application Startup File How can I start the server? Do I have to create a server.js and in this file execute npm run start?



Solution 1:[1]

Need to install nuxt-start module

npm i --save nuxt-start

in Application Startup File

node_modules/nuxt-start/bin/nuxt-start.js

Solution 2:[2]

I found the solution:

In the field Application Startup File you have to put node_modules/nuxt/bin/nuxt-start.

Solution 3:[3]

Click run script button and type start and close page if you want to restart again and show running process.
Type this:

pgrep -f npm

And then kill that process:

kill -9 <PID>

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Lim Socheat
Solution 2 poldixd
Solution 3 Tyler2P