"Failed to create a distribution package" Error - Fail to deploy my game

I've read several threads about this problem. Most of those threads are related to invalid file name, but I've checked all the files and they do not contain those "forbidden characters". I've also tried different output locations (USB and desktop), as well as different platforms (Windows, MAC etc.). But I still cannot successfully deploy my game.
I wonder if there is any more possible causes of this error, and the solutions to them.
Thank you!
what are the forbidden characters you checked for? just to see i you have the full and correct list.

additionally, what is the exact folderpath to the target directory? Please post the full path including drive letter.
For the forbidden characters, I've checked for:
/
@
&
.
[
]
{
}
#
%
*
?

For the output locations, I've tried:
C:\Users\HKC\Downloads\whispersofthesoul
D:\whispersofthesoul

Thank you!
For the forbidden characters, I've checked for:
that list does not contain the space, which is the most often used forbitten character.

please make sure that all spaces in filenames are replaced with something like the underscore _
I've just checked again and I think there's no space in my file names. But I'm afraid that I've missed some of them. Is there a way to search for all file names containing spaces?
Also, I'm not sure if GIF files are allowed, or are there any "forbidden file types" for RPG Maker MZ?
Thank you!!
Also, I'm not sure if GIF files are allowed, or are there any "forbidden file types" for RPG Maker MZ?
The "forbidden" has nothing to do with the maker, it is a general problem of all HTML5-based games.

gif files are not supported by the default maker, but neither are they forbidden - you just need a plugin to install a gif-player for them to work.
If I have no plugins for GIF files, should I remove the GIF files?
For the space problem, can I search " " in the file explorer for every file containing spaces? (Including the quotation marks)
Thanks!!
gif: doesn't matter, but any place where it is used it will simply not displayed. so replace them with png
space: yes
Thanks for your answers! I'll check the files later since I'm having an examination soon. I'll update the latest situation after my exam~ (About two weeks later)
Thank you again for all the support 😀
PS: My game is actually a school assignment, so my friends and I all freaked out when we found that we can't export the game 🙁
PS: My game is actually a school assignment, so my friends and I all freaked out when we found that we can't export the game 🙁
if everything fails, you can run the game on a local server to find out what exactly the problem files are.
for that you basically install one of the free server softwares, place the game into that structure and then doubleclick on the index.html
depending on your computer knowledge you might have to ask someone for help, but there should be help available for this school project. And it would be even easier if the school admin is already running a local server for the school
Thank you!!
We'll try it out later :3
We've deleted the GIF file and checked for all the files to ensure that there is no space. But we've found a file with a comma. Will that be a problem? If yes, is it possible that we change the file name without loading the image into our project again? (The file is the image of our main characters 🙁 ) Also, we haven't tried the local server method since we're unfamiliar with it. We'll find our teacher for help soon.
Attached are the photos of the process of us exporting the project.
Thank you!
1000009456.png
1000009457.png
1000009458.png
please use the build-in screenshot function:

press [alt]-[prtscrn] on your keyboard, open any image program (ms Paint is enough), then paste by [ctrl]-[V],
mobile photos are usually unreadable
We've just tried to create a copy and deleted one of the unused part in our game. Then we tried to export again and it succeeds!
We can finally submit our project now ^^
Thank you so much for all the help 🙂

Original thread: https://forums.rpgmakerweb.com/threads/failed-to-create-a-distribution-package-error-fail-to-deploy-my-game.178035/