skip to Main Content

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?

3

Answers


  1. Chosen as BEST ANSWER

    I found the solution:

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


  2. Need to install nuxt-start module

    npm i –save nuxt-start

    in Application Startup File

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

    Login or Signup to reply.
  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>
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search