mirror of
https://github.com/Kuingsmile/word-GPT-Plus.git
synced 2026-04-26 00:35:49 +03:00
[GH-ISSUE #75] [Bug]: can't launch the local service. #53
Labels
No labels
bug
enhancement
help wanted
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/word-GPT-Plus#53
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ghost on GitHub (Aug 28, 2024).
Original GitHub issue: https://github.com/Kuingsmile/word-GPT-Plus/issues/75
Originally assigned to: @Kuingsmile on GitHub.
前置阅读 | Pre-reading
服务类型 | Service Type
Self-hosted service
系统信息 | System Information
Windows
Office 版本 | Office Version
microsoft 365
问题重现 | Bug reproduce
Uncaught runtime errors:
×
ERROR
Word is not defined
ReferenceError: Word is not defined
at getSeletedText (webpack-internal:///./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/pages/HomePage.vue?vue&type=script&lang=ts&setup=true:160:9)
at template (webpack-internal:///./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/pages/HomePage.vue?vue&type=script&lang=ts&setup=true:167:34)
at StartChat (webpack-internal:///./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/pages/HomePage.vue?vue&type=script&lang=ts&setup=true:330:7)
at callWithErrorHandling (webpack-internal:///./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:330:19)
at callWithAsyncErrorHandling (webpack-internal:///./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:337:17)
at emit (webpack-internal:///./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:815:5)
at eval (webpack-internal:///./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:6949:45)
at handleClick (webpack-internal:///./node_modules/element-plus/es/components/button/src/use-button.mjs:69:5)
at callWithErrorHandling (webpack-internal:///./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:330:19)
at callWithAsyncErrorHandling (webpack-internal:///./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:337:17)
I use the latest version of main branch for this git repo. I also revert to v0.4.9. It has same issues.
BTW. It seems that my Word doesn't have the add-in in the [Insert] menu.....
It is office 365 2024 version, where can I find the add-in?
@ghost commented on GitHub (Aug 28, 2024):
I start the service with command "yarn run serve" in windows CMD and it doesn't have error message for this command.
DONE Compiled successfully in 17760ms 13:08:11
App running at:
Note that the development build is not optimized.
To create a production build, run yarn build.
No issues found.
@Kuingsmile commented on GitHub (Aug 28, 2024):
do not open it through http://localhost:3000/
intasll following the instruction in readme
Self-hosted
If you want to host the add-in yourself, you will need to clone this repo and install dependencies, then run the project. Need Node.js 16+.
git clone https://github.com/Kuingsmile/Word-GPT-Plus.git
yarn
yarn run serve
manifest.xml
Then, follow the Sideload add-in instructions below to install the add-in.
@ghost commented on GitHub (Aug 29, 2024):
Thank you....
In fact, I followed the instruction as Self-hosted installation.
I installed Node.JS with version 20.17.0
C:\WINDOWS\system32>node --version
v20.17.0
Cloned the repo and follow the same steps ...