-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
更新@vue/cli-service到3.8.3后,热重载network显示unavailable #4144
Comments
The package default-gateway seems failed to parse the unicode interface names. You may see the detail in #3266. Before the bug fixed, you may try to rename the adaptor name in English. |
你好 @zrh122 , 当我的项目初始安装依赖的时候,报如下错误: yarn install v1.10.1
info No lockfile found.
[1/4] 🔍 Resolving packages...
warning @vue/cli-plugin-eslint > eslint > file-entry-cache > flat-cache > circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
warning webpack-bundle-analyzer > bfj-node4@5.3.1: Switch to the `bfj` package for fixes and new features!
[2/4] 🚚 Fetching packages...
error execa@2.0.4: The engine "node" is incompatible with this module. Expected version "^8.12.0 || >=9.7.0". Got "8.11.2"
error Found incompatible module
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command. 环境:
经排查: 发现是一个依赖包版本问题 项目依赖 @vue/cli-service: "^3.8.0" 依赖关系: 问题: default-gateway@5.0.2 > execa@^1.0.0 问题原因: |
@dmccer |
@sodatea 最新的 |
https://yarnpkg.com/lang/en/docs/cli/install/#toc-yarn-install-ignore-engines 这是 yarn 和 npm 实现的不一致引起的。npm 的文档里写了:
execa 并没有使用什么必须 Node.js 8.12+ 才能用的特性,它的代码和 8.11.2 应该是兼容的,所以绕过这个安装报错就行了。 |
请问最后怎么解决的?网上找不到解决方法 |
Version
3.8.3
Environment info
Steps to reproduce
What is expected?
Network: http://localhost:8080
What is actually happening?
Network: unavailable
但通过ip还是能访问得到的,只是终端没显示出来。。
The text was updated successfully, but these errors were encountered: