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

本地运行不报错但是打包到服务器报不知名错误 #132

Open
deepthan opened this issue Feb 22, 2021 · 0 comments
Open

本地运行不报错但是打包到服务器报不知名错误 #132

deepthan opened this issue Feb 22, 2021 · 0 comments

Comments

@deepthan
Copy link
Owner

原因分析

部分错误在本地运行时jit模式下不会触发,在aot之后会触发

解决办法

在本地运行的时候使用命令ng server --aot即可以aot模式运行,可以看到具体报错信息并解决。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant