-
Notifications
You must be signed in to change notification settings - Fork 135
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
Wrong mime type for fsevents.node
#414
Comments
Hi @Drarig29! |
I get this issue using npm 6 (6.14.17). I do not see this issue with npm 7 (7.24.2) or npm 8 (8.19.2). This is all using node 14.20.0 on Mac OSX 12.5.1. |
For me, it turned out the So I'm now installing in production mode ( |
Hey y'all this is still an issue. My build tool for the project is causing the same mime type to be produced and included in the bundle causing issues. |
Do you have any news on this? I've got exactly the same issue and workaround proposed by @Drarig29 works on my side. |
@kirill-ivlev if you haven't noticed, I proposed a PR to fix that already.
This is not a feature request, but a bug to fix. |
@kirill-ivlev Has there been any consideration on merging @Drarig29 's PR? This is particularly a problem when using ARM64 devices to package extension. |
My
node_modules
contain thefsevents
package, which depends on the host architecture.The generated
[Content-Types].xml
file (extracted from the VSIX extension) contains the following:You can see the mime type is wrong here, and because of this it's impossible to upload the VSIX file.
I get the following error when trying to upload:
Here is the output of the
file --mime-type
command:Temporary workaround
The text was updated successfully, but these errors were encountered: