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

前端部署时,提示缺少必要文件 #106

Closed
open-dev-tech opened this issue Apr 25, 2021 · 5 comments
Closed

前端部署时,提示缺少必要文件 #106

open-dev-tech opened this issue Apr 25, 2021 · 5 comments

Comments

@open-dev-tech
Copy link

我用的环境

  • PHP 版本:7.3.22
  • MoChat 版本:latest
  • Swoole 版本:4.6.5

问题及现象

安装配置dashboard时,执行yarn run build后,一直提示缺少必要的文件,提示信息如下:
ERROR Error: Cannot find module './public/dll/antDesignVue-manifest.json'

尝试过node16/15/14/13/10等多个版本,均如此

@maxincai
Copy link
Contributor

先执行 yarn run dll
再执行 yarn run build

@open-dev-tech
Copy link
Author

谢谢

目前问题己解决,但登录时提示:405 error?

@maxincai
Copy link
Contributor

谢谢

目前问题己解决,但登录时提示:405 error?

检查 dashborad .env 中配置的域名是否为后端的接口服务域名。

@open-dev-tech
Copy link
Author

谢谢
目前问题己解决,但登录时提示:405 error?

检查 dashborad .env 中配置的域名是否为后端的接口服务域名。

确认过,配置正确

@open-dev-tech
Copy link
Author

谢谢
目前问题己解决,但登录时提示:405 error?

检查 dashborad .env 中配置的域名是否为后端的接口服务域名。

己解决!

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

2 participants