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

✨ [Feature]: 本地启动项目时,如果更改本地开发启动的base路径为/design,页面控制台会报错,可以帮忙解决一下吗 #121

Closed
youchen133 opened this issue Dec 4, 2023 · 13 comments
Labels
bug Something isn't working

Comments

@youchen133
Copy link

youchen133 commented Dec 4, 2023

What problem does this feature solve

image

design-core文件目录下的vite.config.js

const config = {
base: '/design',
publicDir: path.resolve(__dirname, './public'),
resolve: {
extensions: ['.js', '.jsx', '.vue'],
alias: {}
}

What does the proposed API look like

可否帮忙看一下,解决一下这个控制台报错

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Title: ✨ [Feature]: When starting the project locally, if you change the base path for local development startup to /design, the page console will report an error. Can you help solve it?

@chilingling chilingling added the bug Something isn't working label Dec 4, 2023
@wenmine
Copy link
Collaborator

wenmine commented Dec 5, 2023

@youchen133 感谢反馈,已经记录,会尽快安排解决

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


@youchen133 Thanks for the feedback, it has been recorded and will be resolved as soon as possible

@kedenLi
Copy link

kedenLi commented Dec 6, 2023

能提供更多的信息吗?我这边复现不了,或者在微信群里和我们沟通一下

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Can you provide more information? I can’t reproduce it here, or you can communicate with us in the WeChat group

@kedenLi
Copy link

kedenLi commented Dec 6, 2023

@youchen133

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


@by陈133

@chilingling
Copy link
Member

从报错信息来看,这个是 monaco worker 相关的报错,暂时没发现影响到的功能模块,后续会定位消除掉

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Judging from the error message, this is an error related to monaco worker. The affected functional modules have not been found for the time being. They will be located and eliminated in the future.

@youchen133
Copy link
Author

能提供更多的信息吗?我这边复现不了,或者在微信群里和我们沟通一下

修改design-core下的打包配置文件vite.config.js,将base改成/design,本地启动项目页面控制台就有报错

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Can you provide more information? I can’t reproduce it here, or you can communicate with us in the WeChat group

Modify the packaging configuration file vite.config.js under design-core, change base to /design, and an error will be reported in the console of the local startup project page.

@wenmine
Copy link
Collaborator

wenmine commented Jan 29, 2024

从报错信息来看,这个是 monaco worker 相关的报错,暂时没发现影响到的功能模块,后续会定位消除掉

这个是此issue的答案

@wenmine wenmine closed this as completed Jan 29, 2024
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Judging from the error message, this is an error related to monaco worker. The affected functional modules have not been found for the time being. They will be located and eliminated in the future.

This is the answer to this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants