Skip to content
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

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

Closed
2 tasks done
HiXiaolin opened this issue May 5, 2023 · 15 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@HiXiaolin
Copy link

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

@HiXiaolin HiXiaolin added the bug Something isn't working label May 5, 2023
@Kuingsmile
Copy link
Owner

Kuingsmile commented May 5, 2023

@HiXiaolin

在nginx配置文件中增加:

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

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

@Kuingsmile Kuingsmile pinned this issue May 5, 2023
@Kuingsmile Kuingsmile added help wanted Extra attention is needed and removed bug Something isn't working labels May 5, 2023
@LW030406
Copy link

LW030406 commented Jul 6, 2023

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

@Kuingsmile
Copy link
Owner

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

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

@LW030406
Copy link

LW030406 commented Jul 7, 2023 via email

@LW030406
Copy link

LW030406 commented Jul 7, 2023 via email

@Kuingsmile
Copy link
Owner

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

@LW030406
Copy link

LW030406 commented Jul 7, 2023 via email

@LW030406
Copy link

LW030406 commented Jul 7, 2023 via email

@Kuingsmile
Copy link
Owner

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
Copy link

LW030406 commented Jul 7, 2023 via email

@Kuingsmile
Copy link
Owner

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

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

@LW030406
Copy link

LW030406 commented Jul 7, 2023 via email

@LW030406
Copy link

LW030406 commented Jul 7, 2023 via email

@LW030406
Copy link

LW030406 commented Jul 7, 2023 via email

@LW030406
Copy link

LW030406 commented Jul 7, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants