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

Container 布局容器的示例,测试失败,无法渲染 #158

Open
1 task
zsq2010 opened this issue Jul 21, 2019 · 3 comments
Open
1 task

Container 布局容器的示例,测试失败,无法渲染 #158

zsq2010 opened this issue Jul 21, 2019 · 3 comments

Comments

@zsq2010
Copy link

zsq2010 commented Jul 21, 2019

Issue Type:

  • Bug

Version & Environment:
element-angluar0.7.6
angluar cli:8.1.2
node:10.15.3
rxjs 6.4.0

Description:
1.项目css初始化为:css,使用路由y/n选择y
2.使用angluar cli,安装,并在style.css,导入css

测试了几个指南的例子,很多都是ok没问题的,

但是,
"Container 布局容器",例子,粘贴到app.component.html后.报错:
界面无法渲染(一片白)

浏览firefox 错误显示:

ERROR NullInjectorError: "StaticInjectorError(AppModule)[NgClass -> NgClassImpl]:
StaticInjectorError(Platform: core)[NgClass -> NgClassImpl]:
NullInjectorError: No provider for NgClassImpl!"
Angular 36

@makyo5
Copy link

makyo5 commented Jan 6, 2020

同样出现了这个问题。
完全按照说明来的。
使用el-container就会报错:
ERROR NullInjectorError: StaticInjectorError(AppModule)[NgClass -> NgClassImpl]:
StaticInjectorError(Platform: core)[NgClass -> NgClassImpl]:
NullInjectorError: No provider for NgClassImpl!

目前的项目暂时无法使用elangular,暂时改用其他ui在做。

@52Hertzlyl
Copy link

请问解决了吗,我也遇到这个问题了

@makyo5
Copy link

makyo5 commented Apr 8, 2021

感觉已经被废弃了。。。。

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