Manifest is not valid JSON

I'm new to RPG Maker MV, and I bought it during the recent steam sale. Last night, I made a small map and was play testing it and everything was going great. Today however, when I opened that file and tried to play it, having not touched anything, I got the error message:
Failed to load extension from: /Users/myUsername/Documnets/Games/Project1.
Manifest is not Valid JSON. Can't read file.
I've tried making a brand new project and just playtesting from the grassy void you start with, I've tried making a new project and copying the JSON file from that. Now all my projects have the same error message.

I've also restarted my computer and uninstalled and reinstalled the game completely and it's still happening. I don't have any extensions or plugins installed, the only thing I downloaded was a tile set.

I'm running on Mac, any suggestions what could be causing it or how to fix it? 🙁

Edit: I just realized I posted this in the wrong forum. This is for MV instead of MZ I don't know how to move it aaaa
Moderator note: Moved to MV Support
The manifest file is package.json. Suggestion:
  1. Open up your project folder, e.g. Game > Open Folder from the editor menu bar,
  2. Delete package.json;
  3. Playtest.
This should automatically generate a new, default version of that file.

Alternatively...I'm not sure if the manifest is different on Mac, but on Windows it looks like this:
Spoiler: Click to view text
{ "name": "", "main": "index.html", "js-flags": "--expose-gc", "window": { "title": "", "toolbar": false, "width": 816, "height": 624, "icon": "icon/icon.png" } }
So I guess you could try manually editing your project's package.json file in a text editor?
The manifest file is package.json. Suggestion:
  1. Open up your project folder, e.g. Game > Open Folder from the editor menu bar,
  2. Delete package.json;
  3. Playtest.
This should automatically generate a new, default version of that file.

Alternatively...I'm not sure if the manifest is different on Mac, but on Windows it looks like this:
Spoiler: Click to view text
{[/INDENT] [INDENT] "name": "",[/INDENT] [INDENT] "main": "index.html",[/INDENT] [INDENT] "js-flags": "--expose-gc",[/INDENT] [INDENT] "window": {[/INDENT] [INDENT] "title": "",[/INDENT] [INDENT] "toolbar": false,[/INDENT] [INDENT] "width": 816,[/INDENT] [INDENT] "height": 624,[/INDENT] [INDENT] "icon": "icon/icon.png"[/INDENT] [INDENT] }[/INDENT] [INDENT]}
So I guess you could try manually editing your project's package.json file in a text editor?
Thanks for the suggestion! I figured it was something wrong with the JSON file; I had tried replacing from a fresh game but I hadn't tried deleting.

I tried deleting and the JSON looked the same but I copy/pasted anyways. Still no luck.
So after poking around a bit more, and reinstalling it (again.) I tried to think about anything I might've done that would've changed things.

I had gone into my security preferences on my Mac and given RPG Maker more access to my files and folders, because it would ask if RPG Maker had permission to edit/access files every time I opened the database or tried to test my game. I gave it more access so the pop up didn't happen, and apparently that was what broke it. I removed the expanded access and now I can test my game again, I just have to deal with the dialogue popups every time I open the database or test the game. A hassle, but at least it works I guess.
If you were on Windows, I'd ask if you had created your project in a Windows-owned folder, like Program Files.

I didn't realise Macs had the same /users/.../documents/ path structure.

What if you give yourself back all those extra permissions, then create a new project? What if you don't create your project on that path, but a new folder in C: ?
I gave RPG Maker disk permissions again and it doesn't seem to be replicating the problem this time. It asked me once if it had permission to edit files and now it's opening the database and playtesting fine. It's weird because changing that was| DEFINITELY what fixed the problem before.

It had been working just fine last night after giving it permissions and then started complaining in the morning so we'll see if that holds.

It's also strange because even before expanding them, it started with permission to read/write files, which should make the act of opening the database and saving and stuff work just fine. I had to expand it to full-disk access.

I tested some other projects in different places and they all behaved the same: pop up a permission dialogue every time with only file access, ask for access once when you open the project and then are fine with full disk access given to MV.

Maybe one of my reinstalls fixed whatever was conflicting an dI just needed to reassign permissions after? 😅

Original thread: https://forums.rpgmakerweb.com/threads/manifest-is-not-valid-json.134926/