Wednesday, 3 May 2017

NodeJs installed but getting error "Ensure that Node.js is installed and can be found in one of the PATH directories"

I am using the template available on this link to create an Angular 2 App with ASP Core 1.1.

I can run the application in Production/Development mode just fine via Visual Studio 2017.

But I am getting an error when published on IIS 10.0 on Windows 10.

An unhandled exception has occurred: Failed to start Node process. To resolve this:.

1 Ensure that Node.js is installed and can be found in one of the PATH directories.

I have set the path in PATH environment variable where I have NodeJS installed.

In addition, I am able to invoke the exe from command prompt and when I go to the URL it is opening fine as well. Now I have read somewhere on github that this is due to some issue at IIS Integration but I am not able to find anything on Internet so far.

I would appreciate any help or guidence to resolve this issue.



via NewUser546

No comments:

Post a Comment