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

Cannot start service: Host version "0.23.1" does not match binary version "0.14.54 #53

Open
taodidi opened this issue Jan 7, 2025 · 1 comment

Comments

@taodidi
Copy link

taodidi commented Jan 7, 2025

09:59:55.189 VITE_DROP_CONSOLE: 'false',
09:59:55.189 VITE_CJS_IGNORE_WARNING: 'true',
09:59:55.189 VITE_ROOT_DIR: 'D:\jinhui\uniapp-vue3-template',
09:59:55.189 VITE_USER_NODE_ENV: 'development'
09:59:55.189 }
09:59:55.607 X [ERROR] Cannot start service: Host version "0.23.1" does not match binary version "0.14.54"
09:59:55.607 1 error
09:59:55.903 vite v5.4.11 dev server running at:
09:59:55.903 - Local: http://localhost:9527/uniapp-vue3-template/
09:59:55.904 * Network: http://20.0.3.28:9527/uniapp-vue3-template/
09:59:55.904 * Network: http://10.8.0.58:9527/uniapp-vue3-template/
09:59:55.904 - Network: http://10.203.34.19:9527/uniapp-vue3-template/

如果使用HBuilder X 运行项目【H5】 会提示上述主机版本和二进制版本不匹配的问题。我查了一下网上说是esbuild版本问题,我尝试修改了一下esbuild的版本但并没有解决该问题,作者知不知道怎么解决

@oyjt
Copy link
Owner

oyjt commented Jan 7, 2025

项目中vite使用的是5.2.8版本,你的版本是5.4.11高了一些,记得升级HBuilder X到最新版。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants