nitinb
nitinb

Reputation: 331

Error running node application on Azure

We are trying to run node application on azure. It get deployed successfully but when we try to run the application we get following error in trace logs.

ActivityId  {A5FF0B34-7C3F-4A99-9497-6C04A9AE9A9F}

Message: iisnode was unable to establish named pipe connection to the node.exe process before the process terminated

Any help will be appreciated.

Thanks.

Upvotes: 3

Views: 2445

Answers (2)

Michael Staples
Michael Staples

Reputation: 577

Additionally to the solution above:

Check if the configuration setting WEBSITE_NODE_DEFAULT_VERSION is set to the proper NODE Version.

Upvotes: 2

nitinb
nitinb

Reputation: 331

Gary's suggestion worked.

You can download the diagnostic logs via the KUDU api at https://<your_site_name>.scm.azurewebsites.net/api/dump. And you can check the application logs in \LogFiles\Application folder.

After looking at logs, the issue was that Azure services couldn't understand babel syntax.

Tried another node app without Babel, and it worked fine.

Upvotes: 4

Related Questions