-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to Deploy the Node JS app having nodejs version greater than 18.16.0 #141
Comments
I tried other frameworks also like I Also Tried Reinstalling iisnode and nodejs in system, as well as changed the system also but it having the same issue. |
i can help in any contributions related to nodejs if needed |
This SvelteKit stack works fine with latest LTS NodeJS so far, except I did not manage to get NodeJS crash / console logs so far. It is a bit surprising since I did not see these versions mentioned as supported anywhere so far Windows Server 2019 with IIS |
Logging issue solved by giving the user IIS_IUSRS full access to the logs directory, maybe it helps with NextJS. |
Next.js web apps (or other Node.js framework based) can be hosted on IIS via HttpPlatformHandler, https://docs.lextudio.com/blog/running-next-js-web-apps-on-iis-with-httpplatformhandler/ |
Will this also work with an AdonisJS V6 App? |
@elvisdt17 Literally all JS/TS frameworks can be configured to work with HttpPlatformHandler, but I won't have enough time to write about all of them. You might follow the Next.js one and see what changes are required by AdonisJS. Often you just need to change a few commands. |
@lextm . I created the issue with this iisnode module but you gave me other module named httpplatformhandler module instead. Thanks I will try that. |
I have currently implemented nodejs 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.
The text was updated successfully, but these errors were encountered: