Error: null in devtools.js, line 74

Hey everyone! I make games and apps. Some time ago I started making a browser game “Hide 'n Seek”. I made it on the Kaboom game framework. And since yesterday I continued to make the game. But the most important thing: when I fixed one mistake in the code (not exactly a mistake: the button for selecting the mode was uneven, if that’s important), then I got a blank black screen without buttons and text. I decided to look into the console, and instead of the usual “ReferenceError” type error, there was a base class Error: Error: null. The error was caused in the devtools.js file on line 74. After I removed the section of code that aligns the button, everything worked. And this happens very often now. How can I now handle the event without having to replace the left mouse button press with “p” key presses?

please give the link to this repl

2 Likes

https://replit.com/@NataliaKazakiev/Hide-n-Seek

@BananaPi answer, if you can

I don’t know what’s wrong, @NataliaKazakiev

interesting, I’m getting the same error rn

here’s the Repl: https://replit.com/@QwertyQwerty88/Mario#code/game.js

you know how to fix it?

I get that some error too. The play button in my app works fine on the first video in the quiz, but after that, it stops working and I get the same devtools.js, line 74 error. I have no idea what that means and I’m not finding much online referencing that error except for this discussion. Here’s my replit link: https://replit.com/@ScottWhitney1/SproutVideoGUI?v=1

1 Like

Hey @NataliaKazakiev!

I apologize for the delay. We didn’t see this post until recently.

We haven’t been able to reproduce the issue. For those of you still seeing the issue, can you please send us a screenshot and the link to your Repl so we can take a look?

5 Likes

https://replit.com/@NataliaKazakiev/Hide-n-Seek

Hey all!

Those of you experiencing the issue, can you please send us a screenshot of the error that you’re getting (and include the Repl link) so we can gain a better understanding of the issue?

2 Likes

I’m having the issue too, my sprite movements don’t work for the ‘d’ key even though it works for ‘w’ ‘a’ ‘s’. For’d’ it just gives me an error: Error: null (I’m using phaser.js)


https://replit.com/@Terrific23/Mokepons#script.js

Thanks in advance!

Hey @Terrific23!

Thank you for the context. I was able to reproduce this issue and will let you know once I have an update.

Could you inform me if there’s any update?

Terrific23,

Do you have any original post with more information about this issue?

Help me out

replit.com/@komaltaunk22/Project

Same here I am getting the same error

Error: nullhttps://8f4e2413-144f-4f14-be6c-6657e2797017-00-gvjge31p0wo6.pike.replit.dev/__replco/static/devtools/devtools.js:74

Is there anyone who can help?

Hey @muhammedsaadi!

Can you please send me the link to your Repl so I can take a look?

I get the same error and the get request for my servers don’t work.

I am having the same error. Can you please provide a solution to this.

I got the same error in a threejs project.