[GH-ISSUE #4] [Bug]: TypeError: Failed to execute 'compile' on 'WebAssembly': Incorrect response MIME type. Expected 'application/wasm'. #5

Closed
opened 2026-03-03 13:58:05 +03:00 by kerem · 15 comments
Owner

Originally created by @HiXiaolin on GitHub (May 5, 2023).
Original GitHub issue: https://github.com/Kuingsmile/word-GPT-Plus/issues/4

Originally assigned to: @Kuingsmile on GitHub.

前置阅读 | Pre-reading

服务类型 | Service Type

Official hosted service

系统信息 | System Information

Windows

Office 版本 | Office Version

office 2016 retail

问题重现 | Bug reproduce

TypeError: Failed to execute 'compile' on 'WebAssembly': Incorrect response MIME type. Expected 'application/wasm'.
yarn build 部署以后,打开页面会报这个错误, 我的nginx服务也已经配置好了,不知道问题出在哪了

Originally created by @HiXiaolin on GitHub (May 5, 2023). Original GitHub issue: https://github.com/Kuingsmile/word-GPT-Plus/issues/4 Originally assigned to: @Kuingsmile on GitHub. ### 前置阅读 | Pre-reading - [X] [Issues](https://github.com/Kuingsmile/word-gpt-plus/issues?q=is%3Aissue+sort%3Aupdated-desc+is%3Aclosed) - [X] [README](https://github.com/Kuingsmile/word-gpt-plus/blob/master/README.md) ### 服务类型 | Service Type Official hosted service ### 系统信息 | System Information Windows ### Office 版本 | Office Version office 2016 retail ### 问题重现 | Bug reproduce TypeError: Failed to execute 'compile' on 'WebAssembly': Incorrect response MIME type. Expected 'application/wasm'. yarn build 部署以后,打开页面会报这个错误, 我的nginx服务也已经配置好了,不知道问题出在哪了
kerem closed this issue 2026-03-03 13:58:05 +03:00
Author
Owner

@Kuingsmile commented on GitHub (May 5, 2023):

@HiXiaolin

在nginx配置文件中增加:

location /path/to/your/wasm/files/ { default_type application/wasm; }

/path/to/your/wasm/files/ 是具体的那个wasm文件的路径 不要直接写这个

<!-- gh-comment-id:1536035043 --> @Kuingsmile commented on GitHub (May 5, 2023): @HiXiaolin 在nginx配置文件中增加: ```json location /path/to/your/wasm/files/ { default_type application/wasm; } ``` /path/to/your/wasm/files/ 是具体的那个wasm文件的路径 不要直接写这个
Author
Owner

@LW030406 commented on GitHub (Jul 6, 2023):

网络正常且按步骤安装插件,但提示无网络

<!-- gh-comment-id:1623586001 --> @LW030406 commented on GitHub (Jul 6, 2023): 网络正常且按步骤安装插件,但提示无网络
Author
Owner

@Kuingsmile commented on GitHub (Jul 7, 2023):

网络正常且按步骤安装插件,但提示无网络

安装的是哪个版本,自己搭建的服务还是用的word.msq.pub这个服务

<!-- gh-comment-id:1624504079 --> @Kuingsmile commented on GitHub (Jul 7, 2023): > 网络正常且按步骤安装插件,但提示无网络 安装的是哪个版本,自己搭建的服务还是用的word.msq.pub这个服务
Author
Owner

@LW030406 commented on GitHub (Jul 7, 2023):

使用的gptplus自带的内容,没有自己搭建

发自我的iPhone

------------------ Original ------------------
From: Kuingsmile @.>
Date: Fri,Jul 7,2023 9:25 AM
To: Kuingsmile/word-GPT-Plus @.
>
Cc: LW030406 @.>, Comment @.>
Subject: Re: [Kuingsmile/word-GPT-Plus] [Bug]: TypeError: Failed to execute'compile' on 'WebAssembly': Incorrect response MIME type. Expected'application/wasm'. (Issue #4)

网络正常且按步骤安装插件,但提示无网络

安装的是哪个版本,自己搭建的服务还是用的word.msq.pub这个服务


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

<!-- gh-comment-id:1624549781 --> @LW030406 commented on GitHub (Jul 7, 2023): 使用的gptplus自带的内容,没有自己搭建 发自我的iPhone ------------------ Original ------------------ From: Kuingsmile ***@***.***&gt; Date: Fri,Jul 7,2023 9:25 AM To: Kuingsmile/word-GPT-Plus ***@***.***&gt; Cc: LW030406 ***@***.***&gt;, Comment ***@***.***&gt; Subject: Re: [Kuingsmile/word-GPT-Plus] [Bug]: TypeError: Failed to execute'compile' on 'WebAssembly': Incorrect response MIME type. Expected'application/wasm'. (Issue #4) 网络正常且按步骤安装插件,但提示无网络 安装的是哪个版本,自己搭建的服务还是用的word.msq.pub这个服务 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: ***@***.***&gt;
Author
Owner

@LW030406 commented on GitHub (Jul 7, 2023):

就是插件可以被word识别到,并且挂载,但是点击插件的时候就告诉我无法启动,或者没网

发自我的iPhone

------------------ Original ------------------
From: Kuingsmile @.>
Date: Fri,Jul 7,2023 9:25 AM
To: Kuingsmile/word-GPT-Plus @.
>
Cc: LW030406 @.>, Comment @.>
Subject: Re: [Kuingsmile/word-GPT-Plus] [Bug]: TypeError: Failed to execute'compile' on 'WebAssembly': Incorrect response MIME type. Expected'application/wasm'. (Issue #4)

网络正常且按步骤安装插件,但提示无网络

安装的是哪个版本,自己搭建的服务还是用的word.msq.pub这个服务


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

<!-- gh-comment-id:1624552696 --> @LW030406 commented on GitHub (Jul 7, 2023): 就是插件可以被word识别到,并且挂载,但是点击插件的时候就告诉我无法启动,或者没网 发自我的iPhone ------------------ Original ------------------ From: Kuingsmile ***@***.***&gt; Date: Fri,Jul 7,2023 9:25 AM To: Kuingsmile/word-GPT-Plus ***@***.***&gt; Cc: LW030406 ***@***.***&gt;, Comment ***@***.***&gt; Subject: Re: [Kuingsmile/word-GPT-Plus] [Bug]: TypeError: Failed to execute'compile' on 'WebAssembly': Incorrect response MIME type. Expected'application/wasm'. (Issue #4) 网络正常且按步骤安装插件,但提示无网络 安装的是哪个版本,自己搭建的服务还是用的word.msq.pub这个服务 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: ***@***.***&gt;
Author
Owner

@Kuingsmile commented on GitHub (Jul 7, 2023):

image
这里 Word GPT Plus是自建, GPT Plus是使用我的网站服务,确认下是哪个

<!-- gh-comment-id:1624553768 --> @Kuingsmile commented on GitHub (Jul 7, 2023): ![image](https://github.com/Kuingsmile/word-GPT-Plus/assets/96409857/c32c4614-88aa-41c8-8af8-44d372cfc4b5) 这里 Word GPT Plus是自建, GPT Plus是使用我的网站服务,确认下是哪个
Author
Owner

@LW030406 commented on GitHub (Jul 7, 2023):

网页可以打开,但是word里面打不开,提示无网络,电脑正常联网,有tz和api

发自我的iPhone

------------------ Original ------------------
From: Kuingsmile @.>
Date: Fri,Jul 7,2023 10:51 AM
To: Kuingsmile/word-GPT-Plus @.
>
Cc: LW030406 @.>, Comment @.>
Subject: Re: [Kuingsmile/word-GPT-Plus] [Bug]: TypeError: Failed to execute'compile' on 'WebAssembly': Incorrect response MIME type. Expected'application/wasm'. (Issue #4)

这里 Word GPT Plus是自建, GPT Plus是使用我的网站服务,确认下是哪个


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

<!-- gh-comment-id:1624576482 --> @LW030406 commented on GitHub (Jul 7, 2023): 网页可以打开,但是word里面打不开,提示无网络,电脑正常联网,有tz和api 发自我的iPhone ------------------ Original ------------------ From: Kuingsmile ***@***.***&gt; Date: Fri,Jul 7,2023 10:51 AM To: Kuingsmile/word-GPT-Plus ***@***.***&gt; Cc: LW030406 ***@***.***&gt;, Comment ***@***.***&gt; Subject: Re: [Kuingsmile/word-GPT-Plus] [Bug]: TypeError: Failed to execute'compile' on 'WebAssembly': Incorrect response MIME type. Expected'application/wasm'. (Issue #4) 这里 Word GPT Plus是自建, GPT Plus是使用我的网站服务,确认下是哪个 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: ***@***.***&gt;
Author
Owner

@LW030406 commented on GitHub (Jul 7, 2023):

wordgptplus在我电脑上的word无法启动

发自我的iPhone

------------------ Original ------------------
From: Kuingsmile @.>
Date: Fri,Jul 7,2023 10:51 AM
To: Kuingsmile/word-GPT-Plus @.
>
Cc: LW030406 @.>, Comment @.>
Subject: Re: [Kuingsmile/word-GPT-Plus] [Bug]: TypeError: Failed to execute'compile' on 'WebAssembly': Incorrect response MIME type. Expected'application/wasm'. (Issue #4)

这里 Word GPT Plus是自建, GPT Plus是使用我的网站服务,确认下是哪个


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

<!-- gh-comment-id:1624576905 --> @LW030406 commented on GitHub (Jul 7, 2023): wordgptplus在我电脑上的word无法启动 发自我的iPhone ------------------ Original ------------------ From: Kuingsmile ***@***.***&gt; Date: Fri,Jul 7,2023 10:51 AM To: Kuingsmile/word-GPT-Plus ***@***.***&gt; Cc: LW030406 ***@***.***&gt;, Comment ***@***.***&gt; Subject: Re: [Kuingsmile/word-GPT-Plus] [Bug]: TypeError: Failed to execute'compile' on 'WebAssembly': Incorrect response MIME type. Expected'application/wasm'. (Issue #4) 这里 Word GPT Plus是自建, GPT Plus是使用我的网站服务,确认下是哪个 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: ***@***.***&gt;
Author
Owner

@Kuingsmile commented on GitHub (Jul 7, 2023):

wordgptplus在我电脑上的word无法启动 发自我的iPhone

------------------ Original ------------------ From: Kuingsmile @.> Date: Fri,Jul 7,2023 10:51 AM To: Kuingsmile/word-GPT-Plus @.> Cc: LW030406 @.>, Comment @.> Subject: Re: [Kuingsmile/word-GPT-Plus] [Bug]: TypeError: Failed to execute'compile' on 'WebAssembly': Incorrect response MIME type. Expected'application/wasm'. (Issue #4) 这里 Word GPT Plus是自建, GPT Plus是使用我的网站服务,确认下是哪个 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

https://github.com/Kuingsmile/word-GPT-Plus/blob/master/release/other/manifest.xml
要用这个文件来加载,你加载的应该是需要自己搭建的那一版

<!-- gh-comment-id:1624577816 --> @Kuingsmile commented on GitHub (Jul 7, 2023): > wordgptplus在我电脑上的word无法启动 发自我的iPhone > […](#) > ------------------ Original ------------------ From: Kuingsmile ***@***.***&gt; Date: Fri,Jul 7,2023 10:51 AM To: Kuingsmile/word-GPT-Plus ***@***.***&gt; Cc: LW030406 ***@***.***&gt;, Comment ***@***.***&gt; Subject: Re: [Kuingsmile/word-GPT-Plus] [Bug]: TypeError: Failed to execute'compile' on 'WebAssembly': Incorrect response MIME type. Expected'application/wasm'. (Issue #4) 这里 Word GPT Plus是自建, GPT Plus是使用我的网站服务,确认下是哪个 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: ***@***.***&gt; https://github.com/Kuingsmile/word-GPT-Plus/blob/master/release/other/manifest.xml 要用这个文件来加载,你加载的应该是需要自己搭建的那一版
Author
Owner

@LW030406 commented on GitHub (Jul 7, 2023):

当我点击下载链接弹出来的是xml内容页面,没有直接下载文件

发自我的iPhone

------------------ Original ------------------
From: Kuingsmile @.>
Date: Fri,Jul 7,2023 10:55 AM
To: Kuingsmile/word-GPT-Plus @.
>
Cc: LW030406 @.>, Comment @.>
Subject: Re: [Kuingsmile/word-GPT-Plus] [Bug]: TypeError: Failed to execute'compile' on 'WebAssembly': Incorrect response MIME type. Expected'application/wasm'. (Issue #4)

wordgptplus在我电脑上的word无法启动 发自我的iPhone

------------------ Original ------------------ From: Kuingsmile @.> Date: Fri,Jul 7,2023 10:51 AM To: Kuingsmile/word-GPT-Plus @.> Cc: LW030406 @.>, Comment @.> Subject: Re: [Kuingsmile/word-GPT-Plus] [Bug]: TypeError: Failed to execute'compile' on 'WebAssembly': Incorrect response MIME type. Expected'application/wasm'. (Issue #4) 这里 Word GPT Plus是自建, GPT Plus是使用我的网站服务,确认下是哪个 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

https://github.com/Kuingsmile/word-GPT-Plus/blob/master/release/other/manifest.xml
要用这个文件来加载,你加载的应该是需要自己搭建的那一版


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

<!-- gh-comment-id:1624588137 --> @LW030406 commented on GitHub (Jul 7, 2023): 当我点击下载链接弹出来的是xml内容页面,没有直接下载文件 发自我的iPhone ------------------ Original ------------------ From: Kuingsmile ***@***.***&gt; Date: Fri,Jul 7,2023 10:55 AM To: Kuingsmile/word-GPT-Plus ***@***.***&gt; Cc: LW030406 ***@***.***&gt;, Comment ***@***.***&gt; Subject: Re: [Kuingsmile/word-GPT-Plus] [Bug]: TypeError: Failed to execute'compile' on 'WebAssembly': Incorrect response MIME type. Expected'application/wasm'. (Issue #4) wordgptplus在我电脑上的word无法启动 发自我的iPhone … ------------------ Original ------------------ From: Kuingsmile @.&gt; Date: Fri,Jul 7,2023 10:51 AM To: Kuingsmile/word-GPT-Plus @.&gt; Cc: LW030406 @.&gt;, Comment @.&gt; Subject: Re: [Kuingsmile/word-GPT-Plus] [Bug]: TypeError: Failed to execute'compile' on 'WebAssembly': Incorrect response MIME type. Expected'application/wasm'. (Issue #4) 这里 Word GPT Plus是自建, GPT Plus是使用我的网站服务,确认下是哪个 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***&gt; https://github.com/Kuingsmile/word-GPT-Plus/blob/master/release/other/manifest.xml 要用这个文件来加载,你加载的应该是需要自己搭建的那一版 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: ***@***.***&gt;
Author
Owner

@Kuingsmile commented on GitHub (Jul 7, 2023):

https://raw.githubusercontent.com/Kuingsmile/word-GPT-Plus/master/release/other/manifest.xml

用下载软件或者电脑浏览器打开之后右键另存为

<!-- gh-comment-id:1624593197 --> @Kuingsmile commented on GitHub (Jul 7, 2023): https://raw.githubusercontent.com/Kuingsmile/word-GPT-Plus/master/release/other/manifest.xml 用下载软件或者电脑浏览器打开之后右键另存为
Author
Owner

@LW030406 commented on GitHub (Jul 7, 2023):

好的,我回去看看

发自我的iPhone

------------------ Original ------------------
From: Kuingsmile @.>
Date: Fri,Jul 7,2023 11:19 AM
To: Kuingsmile/word-GPT-Plus @.
>
Cc: LW030406 @.>, Comment @.>
Subject: Re: [Kuingsmile/word-GPT-Plus] [Bug]: TypeError: Failed to execute'compile' on 'WebAssembly': Incorrect response MIME type. Expected'application/wasm'. (Issue #4)

https://raw.githubusercontent.com/Kuingsmile/word-GPT-Plus/master/release/other/manifest.xml

用下载软件或者电脑浏览器打开之后右键另存为


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

<!-- gh-comment-id:1624929113 --> @LW030406 commented on GitHub (Jul 7, 2023): 好的,我回去看看 发自我的iPhone ------------------ Original ------------------ From: Kuingsmile ***@***.***&gt; Date: Fri,Jul 7,2023 11:19 AM To: Kuingsmile/word-GPT-Plus ***@***.***&gt; Cc: LW030406 ***@***.***&gt;, Comment ***@***.***&gt; Subject: Re: [Kuingsmile/word-GPT-Plus] [Bug]: TypeError: Failed to execute'compile' on 'WebAssembly': Incorrect response MIME type. Expected'application/wasm'. (Issue #4) https://raw.githubusercontent.com/Kuingsmile/word-GPT-Plus/master/release/other/manifest.xml 用下载软件或者电脑浏览器打开之后右键另存为 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: ***@***.***&gt;
Author
Owner

@LW030406 commented on GitHub (Jul 7, 2023):

仍然提示无网络

发自我的iPhone

------------------ Original ------------------
From: Kuingsmile @.>
Date: Fri,Jul 7,2023 11:19 AM
To: Kuingsmile/word-GPT-Plus @.
>
Cc: LW030406 @.>, Comment @.>
Subject: Re: [Kuingsmile/word-GPT-Plus] [Bug]: TypeError: Failed to execute'compile' on 'WebAssembly': Incorrect response MIME type. Expected'application/wasm'. (Issue #4)

https://raw.githubusercontent.com/Kuingsmile/word-GPT-Plus/master/release/other/manifest.xml

用下载软件或者电脑浏览器打开之后右键另存为


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

<!-- gh-comment-id:1625406792 --> @LW030406 commented on GitHub (Jul 7, 2023): 仍然提示无网络 发自我的iPhone ------------------ Original ------------------ From: Kuingsmile ***@***.***&gt; Date: Fri,Jul 7,2023 11:19 AM To: Kuingsmile/word-GPT-Plus ***@***.***&gt; Cc: LW030406 ***@***.***&gt;, Comment ***@***.***&gt; Subject: Re: [Kuingsmile/word-GPT-Plus] [Bug]: TypeError: Failed to execute'compile' on 'WebAssembly': Incorrect response MIME type. Expected'application/wasm'. (Issue #4) https://raw.githubusercontent.com/Kuingsmile/word-GPT-Plus/master/release/other/manifest.xml 用下载软件或者电脑浏览器打开之后右键另存为 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: ***@***.***&gt;
Author
Owner

@LW030406 commented on GitHub (Jul 7, 2023):

用官方api需要使用科学上网吗

发自我的iPhone

------------------ Original ------------------
From: Kuingsmile @.>
Date: Fri,Jul 7,2023 11:19 AM
To: Kuingsmile/word-GPT-Plus @.
>
Cc: LW030406 @.>, Comment @.>
Subject: Re: [Kuingsmile/word-GPT-Plus] [Bug]: TypeError: Failed to execute'compile' on 'WebAssembly': Incorrect response MIME type. Expected'application/wasm'. (Issue #4)

https://raw.githubusercontent.com/Kuingsmile/word-GPT-Plus/master/release/other/manifest.xml

用下载软件或者电脑浏览器打开之后右键另存为


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

<!-- gh-comment-id:1625417461 --> @LW030406 commented on GitHub (Jul 7, 2023): 用官方api需要使用科学上网吗 发自我的iPhone ------------------ Original ------------------ From: Kuingsmile ***@***.***&gt; Date: Fri,Jul 7,2023 11:19 AM To: Kuingsmile/word-GPT-Plus ***@***.***&gt; Cc: LW030406 ***@***.***&gt;, Comment ***@***.***&gt; Subject: Re: [Kuingsmile/word-GPT-Plus] [Bug]: TypeError: Failed to execute'compile' on 'WebAssembly': Incorrect response MIME type. Expected'application/wasm'. (Issue #4) https://raw.githubusercontent.com/Kuingsmile/word-GPT-Plus/master/release/other/manifest.xml 用下载软件或者电脑浏览器打开之后右键另存为 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: ***@***.***&gt;
Author
Owner

@LW030406 commented on GitHub (Jul 7, 2023):

为什么他不能根据我发的文本做出分析

发自我的iPhone

------------------ Original ------------------
From: Kuingsmile @.>
Date: Fri,Jul 7,2023 11:19 AM
To: Kuingsmile/word-GPT-Plus @.
>
Cc: LW030406 @.>, Comment @.>
Subject: Re: [Kuingsmile/word-GPT-Plus] [Bug]: TypeError: Failed to execute'compile' on 'WebAssembly': Incorrect response MIME type. Expected'application/wasm'. (Issue #4)

https://raw.githubusercontent.com/Kuingsmile/word-GPT-Plus/master/release/other/manifest.xml

用下载软件或者电脑浏览器打开之后右键另存为


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

<!-- gh-comment-id:1625454973 --> @LW030406 commented on GitHub (Jul 7, 2023): 为什么他不能根据我发的文本做出分析 发自我的iPhone ------------------ Original ------------------ From: Kuingsmile ***@***.***&gt; Date: Fri,Jul 7,2023 11:19 AM To: Kuingsmile/word-GPT-Plus ***@***.***&gt; Cc: LW030406 ***@***.***&gt;, Comment ***@***.***&gt; Subject: Re: [Kuingsmile/word-GPT-Plus] [Bug]: TypeError: Failed to execute'compile' on 'WebAssembly': Incorrect response MIME type. Expected'application/wasm'. (Issue #4) https://raw.githubusercontent.com/Kuingsmile/word-GPT-Plus/master/release/other/manifest.xml 用下载软件或者电脑浏览器打开之后右键另存为 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: ***@***.***&gt;
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/word-GPT-Plus#5
No description provided.