Closed ibitday closed 5 months ago
I'm getting the same error, i cloned the repo using this command : npx create-next-app@latest tma-template --use-npm --example "https://github.com/Telegram-Mini-Apps/nextjs-template" and when running the development server, I'm getting Error: Unable to retrieve launch parameters from any known source.
I'm getting the same error, i cloned the repo using this command : npx create-next-app@latest tma-template --use-npm --example "https://github.com/Telegram-Mini-Apps/nextjs-template" and when running the development server, I'm getting Error: Unable to retrieve launch parameters from any known source.
i deploy the project to vercel, and create bot in telegram and set the domain for it, after that, i open the webapp in telegram bot, the same error also not solve. can you help me? thanks @heyqbnk
You must run the application inside Telegram. In case, you are still having this issue, please, create a reproducible example.
I have just checked using the template this way:
Use this template
button and create a new repository on GitHub.This worked fine for me, I used only GitHub and Vercel interfaces, zero configuration
To launch an application for local development use some tunnel, like localtunnel and put url in botfather settings.
My user faces this issue in the Telegram web view; after refreshing multiple times, it returns to normal.
Device: iphone 16 pro OS: ios 18.0.1 Telegram version: 11.3 (29835)
What could be causing this issue?
when i run this project with follow command, the err occured.
open http://localhost:3000/