imbra - How to Run npm Build in iPanel

Run the build script defined in your package.json to compile your Node.js application.

Steps

  1. Navigate to your website management page.

    [screenshot: website management page]

  2. Click the Node.js tab.

    [screenshot: Node.js tab]

  3. Click the npm Build or Run Build button.

    [screenshot: npm build button]

  4. Wait for the build process to complete. Output logs will show the progress.

    [screenshot: build process output]

Tip: Ensure your package.json has a build script defined before running this.

Related Articles