iisnode icon indicating copy to clipboard operation
iisnode copied to clipboard

Unable to Deploy the Node JS app having nodejs version greater than 18.16.0

Open shriekdj opened this issue 1 year ago • 5 comments

The iisnode works only on nodejs version 18.16.0 and below.

I Tried to deploy the nodejs app but it doesn't work at all.

shriekdj avatar Jan 17 '24 22:01 shriekdj

Currently researching if this tool can enable us to serve next.js AppRouter from IIS, we using latest node version..

Fiontan avatar Feb 01 '24 14:02 Fiontan

@Fiontan , I'm currently already implemented this using the app router from Next.js, which is integrated within a custom server.js file written in Express.js. This setup is being hosted using iisnode. However, I've encountered stability issues when using iisnode with the app router; it only works reliably with Next.js versions up to 13.4.6, but not with later versions.

I am looking to upgrade to Next.js 14, but I'm facing challenges because it requires Node.js version 20 or higher. When I try to run it with these requirements, the above mentioned issue with iisnode arises.

shriekdj avatar Feb 05 '24 10:02 shriekdj

@shriekdj thanks for getting back and apologies for the delayed response- regarding node version compatibility, that's unfortunate and I am looking to go with next.js latest too. Did you manage a resolution I the end? I'm going to check next issues for a match...

Fiontan avatar Aug 20 '24 14:08 Fiontan

@Fiontan Currently i am using the reverse proxy method to run site with iis. but still the iisnode method is more native and easier to handle.

If you need any help related to solving issue you can also tag me i will try to find the solution with you.

shriekdj avatar Aug 22 '24 13:08 shriekdj