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

运行过程的一些问题记录 #27

Open
jiandao7114 opened this issue Mar 20, 2024 · 1 comment
Open

运行过程的一些问题记录 #27

jiandao7114 opened this issue Mar 20, 2024 · 1 comment

Comments

@jiandao7114
Copy link

本地环境 mac

  1. Python 版本要求 3.10,3.11 版本会有依赖报错;

  2. Nodejs 版本 v14.21.3;

  3. package.json 新增两项依赖 "webpack": "^4.46.0", "webpack-cli": "^4.0.0",我本地的swiper依赖进行了指定版本 "swiper": "=5.4.5" ;

  4. server/public/static 目录下新增 fonts 目录,把字体文件都放进去;
    image

  5. server/service/video.js 78行 改为 comp.setFont('./public/static/demo/wryh.ttf'); 是找当前目录下的 public 文件夹;

@drawcall
Copy link
Member

mark

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