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

前端页面启动错误 #38

Closed
8824PPZ opened this issue Oct 18, 2023 · 9 comments
Closed

前端页面启动错误 #38

8824PPZ opened this issue Oct 18, 2023 · 9 comments

Comments

@8824PPZ
Copy link

8824PPZ commented Oct 18, 2023

image

@Geniusay
Copy link
Owner

前端的所有依赖都导入了吗

@8824PPZ
Copy link
Author

8824PPZ commented Oct 18, 2023

我不太懂前端的编译 ,直接敲的 npm install ,然后npm run dev

@Geniusay
Copy link
Owner

暂时没有复现出您的bug,如果你需要使用前端,可以在console-ui下执行vite build 命令
然后将console-ui生成的dist文件夹中的内容复制到chopperbot-console模块下的/resources/static/ 如下图所示:
image
然后启动chopperbot-console即可

@SeasonsChange422
Copy link
Collaborator

有没有运行npm install 后的截图
如:
image

@8824PPZ
Copy link
Author

8824PPZ commented Oct 18, 2023

微信截图_20231018175304

@8824PPZ
Copy link
Author

8824PPZ commented Oct 18, 2023

暂时没有复现出您的bug,如果你需要使用前端,可以在console-ui下执行vite build 命令 然后将console-ui生成的dist文件夹中的内容复制到chopperbot-console模块下的/resources/static/ 如下图所示: image 然后启动chopperbot-console即可

image

@Geniusay
Copy link
Owner

npm install -g sass 你可以尝试一下这个命令,如果还是不行
麻烦提供一下 您当前node的版本

@8824PPZ
Copy link
Author

8824PPZ commented Oct 19, 2023

npm install -g sass 你可以尝试一下这个命令,如果还是不行 麻烦提供一下 您当前node的版本

image
都是用的最新版本

@8824PPZ
Copy link
Author

8824PPZ commented Oct 19, 2023

原来node21 和Dart有兼容性问题。
dart-lang/sdk#53784

@8824PPZ 8824PPZ closed this as completed Oct 19, 2023
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

3 participants