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

Dev环境下无法正常运行Console #4963

Closed
pillar-cat opened this issue Dec 1, 2023 · 5 comments · Fixed by #4983
Closed

Dev环境下无法正常运行Console #4963

pillar-cat opened this issue Dec 1, 2023 · 5 comments · Fixed by #4983
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@pillar-cat
Copy link
Contributor

pillar-cat commented Dec 1, 2023

系统信息

Mac Os 14、Windows11
Node 18.11
pnpm 8.11

使用的哪种方式运行?

Source Code

在线站点地址

No response

发生了什么?

当在dev环境下运行Console时,会输出大量报错(如附加信息所示),并且无法正常使用。看起来是alias配置'@'被识别成了console根路径,导致console/packages/*下的包无法找到自己的组件。
问题疑似是#Issue 4932产生的,但是不影响生产环境。

相关日志输出

详情可查看附加信息

附加信息

image

@pillar-cat
Copy link
Contributor Author

/kind bug
/assign

@f2c-ci-robot f2c-ci-robot bot added the kind/bug Categorizes issue or PR as related to a bug. label Dec 1, 2023
@pillar-cat
Copy link
Contributor Author

#4932

@ruibaby
Copy link
Member

ruibaby commented Dec 1, 2023

这个错误不会影响正常访问,并且再次运行似乎不会出现这样的日志。

这个问题可能和 editor 包生成的 dts 有关,

@JohnNiang
Copy link
Member

无论是否影响正常访问,都建议修复这个让人困扰的错误提示。

@pillar-cat
Copy link
Contributor Author

解决方法是 @ruibaby 提供的。
这是VitePluginHtml插件带来的依赖扫描使用了相对路径出现的问题。

f2c-ci-robot bot pushed a commit that referenced this issue Dec 3, 2023
…4983)

#### What type of PR is this?

/kind bug


#### What this PR does / why we need it:
This will resolve the error log output when running dev environment of Console

#### Which issue(s) this PR fixes:

Fixes #4963 

#### Special notes for your reviewer:


#### Does this PR introduce a user-facing change?


```release-note
None
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants