I solved the problem by myself.
Follow the tutorials: Build a Shopify App with Node.js and React
After I run "npm run dev", Then use the merchant install link. It finally works.
This actually worked for me too, except for this part
"Stop your server from the terminal window that’s running Next.js (ctrl + c).".
Don't stop your ngrok, and if you do, change the "App URL" and "Whitelisted redirect URLs" in the app settings.