MV Can't open developer tools or additional windows

I recently changed to Linux Mint and installed RPGMMV Steam version. When I tried to playtest, I couldn't so I found out that I had to update the nw.js for Linux (nwjs-v0.105.0-linux-x64). After that, I can playtest, but everytime I want to open the developer tools by pressing F12 or external tools like SRD Manager, the game crashes.

I noticed that in the package.json file, under "window":, there's ""toolbar": false". I toggled it to "true" but I still recieve the same error.
nwcrash.png
When I tried to playtest, I couldn't so I found out that I had to update the nw.js for Linux (nwjs-v0.105.0-linux-x64)
This shouldn't be necessary.
Though I use Pop_OS, the underlying structures are likely the same.

Sometimes - especially if you are switching from a Windows installation to a Linux installation - Steam will attempt to run RPG Maker with the Proton compatibility layer.
Ensure that it is not using any compatibility layers, as there is a native Linux version of the software.
Also, for NWJS I would not update too high of a version. I think 105 far exceeds what MV can use. I believe I am using 49.2 and have no issues.

As I mentioned at the top, it should not be necessary to update your NWJS for it to have functionality. Updating nwjs is just to gain performance or, if you are a plugin developer, give you access to some new functionality.
If you are updating NWJS make sure you follow the instructions carefully, as messing up the install locations or not implementing it in both the play test and deployment locations can cause problems.
If you've updated nw.js, I'm gonna take a blind shot here and assume you've replaced the one in your test folder with the regular nw.js instead of the SDK nw.js version, which is the one that has the dev tools enabled. Not entirely sure if this is causing the crash, as normally it just wouldn't open them. Otherwise it's probably a linux problem, like TheAM-Dol explained.
I noticed that in the package.json file, under "window":, there's ""toolbar": false". I toggled it to "true" but I still recieve the same error.
The error says "unexpected property". You should remove it entirely. It's ignored even in the version of nw.js that is used by MV.
I followed this guide.

Under my current settings (new nw.js), I don't have compatibility layers enabled. I'm trying to uninstall and reinstall RPGMMV to get the default files again,

Now that I reinstalled it again, and unchecked the "forced compatibility for Steam Play", I opened my project and can't playtest as initially. I've created a new project and it can't playtest neither. When I hit the Playtest button or Ctrl+R, nothing happens.
I followed this guide.
This guide missed one crucial thing. You need to rename the "nw" to "Game" in nwjs-lnx-test folder.
Also, for NWJS I would not update too high of a version. I think 105 far exceeds what MV can use. I believe I am using 49.2 and have no issues.
Okay yeah, this was the problem. I changed to 49.2 and now I'm able to work with the dev tools. The only think I've noticed is that I can´t deploy the game, neither Windows or Linux build.

Original thread: https://forums.rpgmakerweb.com/threads/cant-open-developer-tools-or-additional-windows.181155/