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

umd打包运行失败 #551

Open
yikenie opened this issue Nov 16, 2023 · 4 comments
Open

umd打包运行失败 #551

yikenie opened this issue Nov 16, 2023 · 4 comments

Comments

@yikenie
Copy link

yikenie commented Nov 16, 2023

image

@yikenie yikenie changed the title 本地npm run start启动失败 umd打包运行失败 Nov 16, 2023
@pomelo-nwu
Copy link
Member

image

看提示是开发依赖没安装好?

@yikenie
Copy link
Author

yikenie commented Nov 16, 2023

根据他的提示在package.json里面增加了依赖项,后面变成这样的报错
82ec2cf21f9b19aff18165f99840c54
不知道具体问题是在哪里。

因为之前是在Windows上跑的,现在打算在ubuntu上跑,并且封装成镜像。
这边打算先把ubuntu18升级成20,先保证一下glibc的版本问题;
然后还有一个问题是我现在封装镜像是根据gi-site里面的docker 的dockerfile运行的,请问他是创建我本地修改后的页面内容吗?

@pomelo-nwu
Copy link
Member

image
当然是的,它会把源码使用scripts命令重新跑一遍构造新产物

@yikenie
Copy link
Author

yikenie commented Nov 16, 2023

您好,我使用pnpm install安装依赖,他报了这个错误:
image
请问是什么问题呢?怎么解决呢?
同时我打包镜像会出现这个报错:
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

2 participants