reading 'useMemo' error
hello, i've a project with nextjs trpc and prisma. after yarn build and then copy to iis host i get TypeError: Cannot read properties of null (reading 'useMemo') error.
scripts: "build": "prisma generate && next build", "start": "node server.js".
i finished project and want to host it at my windows server - iis. watching this video https://www.youtube.com/watch?v=HLsx0iraA-Y&t=1s
thank you for your helps.
Ardi Nasiri
YouTube
deploy next js on iis web server
Briefly explained about create a next js app, install IIS on windows, setup IIS web server and deploy next js demo app on IIS web server.
usefull links:
1. Next js: https://nextjs.org/docs/getting-started
2. Node js: https://nodejs.org/en/
3. IIS node: https://github.com/tjanczuk/iisnode
4. URL Rewrite: https://www.iis.net/downloads/microsoft/ur...
![](https://utfs.io/f/30fef7f3-1f01-4be5-aef0-4854dcd995fd-22rd.jpg)
0 Replies