Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Warning in Unexpected '}' Angular universal

Open
#89 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
20/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
angular, css, typescript
Domain
frontend

Research direction

Start by reproducing the Angular Universal compilation with Angular 5.2.4, Angular CLI 1.7.4, Library 4.0.0-beta.2, and css-star-rating 1.1.3. Inspect the generated or imported styles associated with the reported line ranges and compare the build output with a current dependency setup; done means the unexpected-brace and invalid CSS warnings no longer appear.

Written by the indexing model from the issue text.

Description

needs reproduction

I'm submitting a...


[x] Bug report  
[ ] Feature request

Current behavior

Hello I have problems when compiling with universal angle I get the following, please your help, thank you very much

WARNING in Unexpected '}' at 458:0.

WARNING in Unexpected '}' at 466:0.

WARNING in Unexpected '}' at 474:0.

WARNING in Unexpected '}' at 482:0.

WARNING in Invalid property name 'svg {
fill' at 452:2. Ignoring.

WARNING in Invalid selector '}
.rating.color-ok .star-container .star' at 458:0. Ignoring.

WARNING in Invalid property name 'svg {
fill' at 460:3. Ignoring.

WARNING in Invalid selector '}
.rating.color-positive .star-container .star' at 466:0. Ignoring.

WARNING in Invalid property name 'svg {
fill' at 468:3. Ignoring.

WARNING in Invalid selector '}
.rating.color-default .star-container .star' at 474:0. Ignoring.

WARNING in Invalid property name 'svg {
fill' at 476:3. Ignoring.

WARNING in Invalid selector '}
.rating' at 482:0. Ignoring.

Environment


Library version: 4.0.0-beta.2
css-star-rating: 1.1.3
Angular version: 5.2.4
Angular-cli: 1.7.4


Browser:

- [x ] Chrome (desktop) version XX
Dominant language
TypeScript
Stars
219
Forks
82
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from BioPhoton/angular-star-rating

All issues in BioPhoton/angular-star-rating

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.