-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception Thrown File Exists #5044
Comments
I changed the name of the folder, and the program is working fine. The only thing I can see is that there is a 'tmp' folder 4 levels down in the directory tree from where the a.out.js file was created. Is that a thing, you cannot pass a name to FS.mkdir that is the same as the name of any folder in the directory tree? |
That shouldn't happen, but it could be a weird bug. Does renaming the tmp folder 4 levels down change things? I suspect that |
I ran into a similar issue today except with a call to I'll submit a PR to document this shortly. |
This issue has been automatically marked as stale because there has been no activity in the past year. It will be closed automatically if no further activity occurs in the next 7 days. Feel free to re-open at any time if this issue is still relevant. |
It would be nice also if the exception listed the offending file path |
I have been going through the Emscripten tutorials and tests. I modified to hello_world_file.cpp test to use NODEFS, rather than pre-loading the text file. Here is my modified code:
The code compiles fine, but when I run it, I get an exception thrown with an error complaining that a file already exists. Here is the output:
Any ideas?
The text was updated successfully, but these errors were encountered: