If I try to access my package.json file on my project bongo-bot all my devices freeze or crash. Help!!
EDIT: It seems like the debugger checks the file before opening it or something and then causes it to hang.
EDIT 2: If you’re still having a problem either export the project and look for the red error marks on your package.json OR use ‘nano package.json’ and try to self-debug the file looking for dumb mistakes like a comma after the last dependency.
Oh, sorry about that, @Sem1084; I misread the thread.
I can reproduce this on ~readthedocs, but not on @anon17346778’s ~bongo-bot.
@AXRAY23, welcome to the Glitch forum, and sorry for the bother. Can you give us some example projects you’re seeing this on?
Also (although I’m doubtful this is the issue) can everyone who’s seeing this let us know what browser, operating system (and device model, if appropriate) you’re seeing this on?
I am having this with my project “bewnce2” now, whenever I open the package.json, the whole window becomes unresponsive. I have to put ?path=server.js:24:0 after the link, to open the project without it going straight into package.json.
Running the latest version of chrome - stable
On windows 10 - Medion Akoya
I’m experiencing the same problem. And YES! It’s the package.json.
After a long time, the project unfreezes but if I touch the package.json, it freezes all over again.
Glitch freezes for about 10-15 minutes. Then I can perform 1 action on the package.json (like hit enter or paste 1 thing) then Glitch will freeze once more for 10-15 minutes.
If I work on any other file, Glitch is working fine.
I was having the same issue yesterday after changing some things in package.json. It appears that the json is parsed before it is even rendered so it fails so to fix it:
opened the console in the UI and opened package.json with nano (nano package.json) and edited it
then run refresh to upload the changes to the container running the code
I’m still having an issue. I mean it’s been fine for past 2 hours or so as I haven’t touched package.json. But I need to update one of my dependencies so now it’s frozen again lol. I haven’t applied the solution to export to github and then import it back. Maybe I should do that in the future, but for now I can’t import because the site is frozen.