Node.js Publish Compatibility
Last post Dec 15, 2015 04:54 AM by maxscalabrino
Dec 14, 2015 08:57 AM|maxscalabrino|LINK
I have a problem with Webmatrix Publish Compatibility about Node.js component. I created "Node.js Startes Site" on my local machine and
I would like to publish it on my product site (Hosting Windows Provider). Unfortunately during compatipility check I saw "Not Available" on Node.js
component but I try to publish an node.js example on my hosting works fine.
The request return an HTTP 200 but with error:
iisnode encountered an error when processing the request.
HTTP status: 500
HTTP subStatus: 1002
HTTP reason: Internal Server Error
You are receiving this HTTP 200 response because
system.webServer/iisnode/@devErrorsEnabled configuration setting is 'true'.
In addition to the log of stdout and stderr of the node.exe process, consider using
ETW traces to further diagnose the problem.
The last 64k of the output generated by the node.exe process to stderr is shown below:
Application has thrown an uncaught exception and is terminated:
Error: EPERM: operation not permitted, lstat '\\WAGNER\wwwroot$\'
at Error (native)
at Object.fs.lstatSync (fs.js:888:18)
at start (fs.js:1496:10)
at Object.realpathSync (fs.js:1484:3)
at toRealPath (module.js:113:13)
at Function.Module._findPath (module.js:153:20)
at Function.Module._resolveFilename (module.js:325:25)
at Function.Module._load (module.js:278:25)
at Module.require (module.js:355:17)
at require (internal/module.js:13:17)
I searched this error on internet but I not found anything on it.
I have fully access on production IIS (VPS win2012r2 with IIS 8). To install Node.js I followed:
Someone can HELP me to install and test Node.js on IIS? I tried to use directly Web Platform Installer but still doesn't works compatibility check.
Dec 15, 2015 04:40 AM|Angie xu - MSFT|LINK
and I would like to publish it on my product site (Hosting Windows Provider).
Please restart your IIS, and then configure the app pool to recycle, check whether it helps.
From your description above, you need search the "Node.js" in Web Platform Installer 5.0, and install "Node.js extensions for IIS", and restart IIS again, and check whether it helps.
Please let me know if you need any help.
Dec 15, 2015 04:54 AM|maxscalabrino|LINK