No changes are made

I am working on a calendar project since 3 weeks. Now when I make a change I don’t see any changes in the download zip. I get 3 different results:

  • no change at all
  • a complete mix up new app with many of the build features left out
  • a crash while loading

It is kind of random and when I ask for 2 changes after eachother it almost always keeps loading, so I have to go back to my backup. I tried clearing the history, now trying main instructions, a bit more stability but none of my requests get implemented. Any idea?

3 Likes

Hi @lindamenk ,

Thank you for reaching out to us.Since you’ve already cleared your history, could you also try logging out and back in or using an incognito window to ensure outdated files aren’t affecting your downloads?

1 Like

Last days tried to rebuild the app in .jsx with help of Gemini, but the UI was difficult and got ruined several times.

So happy with your message and tried this, it worked this morning but now sinces 2 hours back into crashes after changes, especially syntax error and instruction javascript only, but not the result. So of course I did a log out, log in, restart mac, but very difficult to enter the easiest changes. I thought (hoped) this was the solution and it looked like it for a couple of hours. Any ideas.

:white_check_mark: Resolved: “Unexpected token / Unterminated JSX” caused by file size truncation in Pure Javascript environment

After extensive debugging, the issue turned out not to be faulty logic or JSX usage.

Root cause:
Large generated JavaScript files were being silently truncated during generation, causing missing closing code and resulting syntax errors like Unexpected token or Unterminated JSX.

Solution:
Split the application into smaller, clearly scoped files so no single file becomes too large. AI Studio did it for me in .js. Now I can make changes again.

DO you have a prompt template? I have an existing project app.tsx and it is approx 3600 lines. I have tried to break it up but everything completey changes. It would be so much work to put it back together again. I simply need some way to keep my current user expeience the same… I don’yt care about the components structure blah blah… I just need the page to render the same as it does currently? Any advice?

你可以通过查看这个帖子解决你的问题,主要是通过提示词的优化进行