server2.js is work, but server1.js is not work
Answered
malibil posted this in #help-forum
malibilOP
server1.js == server2.js
just different between, i add
here is the github repository with all the explanations. please help me.
https://github.com/muhammedalibilgin/nextjsAndNodejs
just different between, i add
dir: "./client2 on the server1.jshere is the github repository with all the explanations. please help me.
https://github.com/muhammedalibilgin/nextjsAndNodejs
Answered by malibil
fixed that, 🤲
https://github.com/vercel/next.js/discussions/53927
https://github.com/vercel/next.js/discussions/53927
3 Replies
malibilOP
can someone help me
malibilOP
anybody can help me?
server.js must be a higher direction
https://github.com/vercel/next.js/tree/canary/examples/custom-server
so like this:
+server.js
+client
--pages
--.next
server.js must be a higher direction
https://github.com/vercel/next.js/tree/canary/examples/custom-server
so like this:
+server.js
+client
--pages
--.next
malibilOP
fixed that, 🤲
https://github.com/vercel/next.js/discussions/53927
https://github.com/vercel/next.js/discussions/53927
Answer