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

请问单独本地启动frontend,npm run start以后报错 #8

Open
chenyurou297 opened this issue Jun 20, 2024 · 4 comments
Open

Comments

@chenyurou297
Copy link

login:1 Not allowed to load local resource: file:///C:/Users/Administrator/Desktop/llm/frontend/src/apps/login/index.tsx
为什么会认为在加载本地资源呢? 怎么本地启动前端项目呢

@ClenLu
Copy link
Collaborator

ClenLu commented Jun 20, 2024

@chenyurou297
Copy link
Author

1
2
请问我的node版本已经是18的了,我就是直接启动的,但是页面点开就是白屏终端报错资源加载呢

@lubovwei
Copy link

我也是这个原因启动空白,作者你解决了没。我node版本也是18.20

@wyf195075595
Copy link

解决了,仔细瞅了一下。开发环境设置成 相对路径就好了
image

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

4 participants