how to use node js in next js code example Example: make nextjs project npx create-next-app # or yarn create next-app