Container 布局容器的示例,测试失败,无法渲染
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- angular, typescript
- Domain
- frontend
Research direction
Reproduce the Container layout example from the issue in app.component.html with the described Angular CLI, Angular, Node, and RxJS versions, using the CSS imported in style.css. Start by investigating the NgClass/NgClassImpl injector error in Firefox; done means the example renders instead of showing a blank page and the reported error is resolved.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- TypeScript
- Stars
- 527
- Forks
- 121
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ElemeFE/element-angular
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
ElemeFE/element-angular#155 ·
-
Latest vue.js library version 2.15.14 in angular and compatibility with the latest angular versionOpen
Difficulty 4/5 3-5 days Newbie friendliness 25/100
ElemeFE/element-angular#171 ·
-
Generic type 'ModuleWithProviders<T>' requires 1 type argument(s) when tried to import ElmoduleOpen
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
ElemeFE/element-angular#167 · 2 comments ·
-
Update on Angular 9Open
Difficulty 5/5 Over a week Newbie friendliness 20/100
ElemeFE/element-angular#165 · 2 comments · 6 reactions ·
-
快速上手那里的指导,在运行的地方命令出错Open
Difficulty 1/5 Under an hour Newbie friendliness 45/100
ElemeFE/element-angular#164 · 1 comment ·
All issues in ElemeFE/element-angular
Similar issues
-
bug HemiStake
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
hemilabs/ui-monorepo#2413 ·
Maintainers usually reply within 1 day
-
component/ui framework/react kind/bug language/javascript
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
meshery/meshery#22216 · 3 comments ·
Maintainers usually reply within 1 day
-
type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
paperclipai/paperclip#14982 ·
Maintainers usually reply within 1 day
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 95/100
lingdojo/kana-dojo#31515 · 1 comment · 5 reactions ·
Maintainers usually reply within 1 day