You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.
First, thank you for this awesome tool! (It might be the only tool that just worked perfectly for me right out of the box).
When I use the electron-packager-compile cli tool, I am receiving some errors in the console like this:
Failed to compile file: path/to/some/xml_file.xml
Compiling path/to/some/xml_file.xml resulted in a MIME type of application/xml, which we don't know how to handle
Looking through the compiler host code, it looks like MIME types that are completely unknown are ignored, but if it is known and there is no compiler for it then it throws this error.
Fortunately, this does not affect the resulting package, but I do have about 50 xml files in my repo and I get this error for each one.
I tried setting "application/xml": { "passthrough": true } but that resulted in a "cannot find compile for type application/xml" error.
Do you have any suggestions?
Thanks,
Ben
The text was updated successfully, but these errors were encountered:
@benmarch At least using electron-forge, I still see this error but the file is correctly showing up in the compile cache as passthrough, it should be fine to ignore this
First, thank you for this awesome tool! (It might be the only tool that just worked perfectly for me right out of the box).
When I use the
electron-packager-compile
cli tool, I am receiving some errors in the console like this:Looking through the compiler host code, it looks like MIME types that are completely unknown are ignored, but if it is known and there is no compiler for it then it throws this error.
Fortunately, this does not affect the resulting package, but I do have about 50 xml files in my repo and I get this error for each one.
I tried setting
"application/xml": { "passthrough": true }
but that resulted in a "cannot find compile for type application/xml" error.Do you have any suggestions?
Thanks,
Ben
The text was updated successfully, but these errors were encountered: