Kuingsmile / word-GPT-Plus

Word GPT Plus is a word add-in which integrates the chatGPT model into Microsoft Word. Both official and web api is supported.
MIT License
629 stars 97 forks source link

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

Closed HiXiaolin closed 1 year ago

HiXiaolin commented 1 year ago

前置阅读 | 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服务也已经配置好了,不知道问题出在哪了

Kuingsmile commented 1 year ago

@HiXiaolin

在nginx配置文件中增加:

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

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

LW030406 commented 12 months ago

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

Kuingsmile commented 12 months ago

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

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

LW030406 commented 12 months ago

使用的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: @.***>

LW030406 commented 12 months ago

就是插件可以被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: @.***>

Kuingsmile commented 12 months ago

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

LW030406 commented 12 months ago

网页可以打开,但是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: @.***>

LW030406 commented 12 months ago

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: @.***>

Kuingsmile commented 12 months ago

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 要用这个文件来加载,你加载的应该是需要自己搭建的那一版

LW030406 commented 12 months ago

当我点击下载链接弹出来的是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: @.***>

Kuingsmile commented 12 months ago

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

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

LW030406 commented 12 months ago

好的,我回去看看

发自我的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: @.***>

LW030406 commented 12 months ago

仍然提示无网络

发自我的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: @.***>

LW030406 commented 12 months ago

用官方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: @.***>

LW030406 commented 12 months ago

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

发自我的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: @.***>