Help Center/ CodeArts Deploy/ FAQs/ Custom Application Actions/ Starting or Stopping Node.js/ Node.js Fails to Be Started or Stopped on a Windows Host
Updated on 2025-01-14 GMT+08:00

Node.js Fails to Be Started or Stopped on a Windows Host

Symptom 1

On a Windows host, the command for starting the Start/Stop Node.js action fails, and the error message Cannot start forever is displayed.

Cause Analysis

The startup file is not found in the service path.

Solution

Enter the correct service path.

Symptom 2

The error message Node service not installed, service start failed! is displayed.

Cause Analysis

The Node.js service has not been installed yet.

Solution

Install Node.js before you deploy this action.

Symptom 3

The Start/Stop Node.js action does not respond for a long time and then fails, with the error message Install forever failure! displayed.

Cause Analysis

The host cannot connect to the platform.

Solution

Ensure that the host can connect to the external network and the DNS is correctly configured.