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

Error when Home page is loading. #33

Closed
ramirezm2014 opened this issue Jan 5, 2017 · 13 comments
Closed

Error when Home page is loading. #33

ramirezm2014 opened this issue Jan 5, 2017 · 13 comments

Comments

@ramirezm2014
Copy link

The home doesn't finish loading. I even took the code for the product-list.component.html from the APM final folder and I got the same error: Here is the error:

zone.js:388 Unhandled Promise rejection: Template parse errors:
Unexpected character "EOF" (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.) ("
div {
cursor: pointer;
}[ERROR ->]"): StarComponent@5:1
Invalid ICU message. Missing '}'. ("
div {
cursor: pointer;
}[ERROR ->]"): StarComponent@5:1 ; Zone: ; Task: Promise.then ; Value: Error: Template parse errors:
Unexpected character "EOF" (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.) ("
div {
cursor: pointer;
}[ERROR ->]"): StarComponent@5:1
Invalid ICU message. Missing '}'. ("
div {
cursor: pointer;
}[ERROR ->]"): StarComponent@5:1
at TemplateParser.parse

@DeborahK
Copy link
Owner

DeborahK commented Jan 5, 2017

The error message identifies the location of the error:
("
div {
cursor: pointer;
}[ERROR ->]"): StarComponent@5:1
Invalid ICU message. Missing '}'.
There is a missing } in your template.

@DeborahK DeborahK closed this as completed Jan 5, 2017
@ramirezm2014
Copy link
Author

ramirezm2014 commented Jan 6, 2017 via email

@ramirezm2014
Copy link
Author

OK I figured it out.. thank you

@shriram9494
Copy link

compiler.js:486 Uncaught Error: Template parse errors:
Unexpected character "EOF" (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.) ("

[ERROR ->]"): ng:///FwModule/PopupMenuComponent.html@6:5 Invalid ICU message. Missing '}'. (" [ERROR ->]"): ng:///FwModule/PopupMenuComponent.html@6:5 at syntaxError (compiler.js:486) at DirectiveNormalizer._preparseLoadedTemplate (compiler.js:3222) at eval (compiler.js:3202) at Object.then (compiler.js:475) at DirectiveNormalizer._preParseTemplate (compiler.js:3202) at DirectiveNormalizer.normalizeTemplate (compiler.js:3180) at CompileMetadataResolver.loadDirectiveMetadata (compiler.js:14914) at eval (compiler.js:34420) at Array.forEach () at eval (compiler.js:34419) syntaxError @ compiler.js:486 DirectiveNormalizer._preparseLoadedTemplate @ compiler.js:3222 (anonymous) @ compiler.js:3202 then @ compiler.js:475 DirectiveNormalizer._preParseTemplate @ compiler.js:3202 DirectiveNormalizer.normalizeTemplate @ compiler.js:3180 CompileMetadataResolver.loadDirectiveMetadata @ compiler.js:14914 (anonymous) @ compiler.js:34420 (anonymous) @ compiler.js:34419 JitCompiler._loadModules @ compiler.js:34416 JitCompiler._compileModuleAndComponents @ compiler.js:34374 JitCompiler.compileModuleAsync @ compiler.js:34268 CompilerImpl.compileModuleAsync @ platform-browser-dynamic.js:239 PlatformRef.bootstrapModule @ core.js:5578 (anonymous) @ main.ts:11 ./src/main.ts @ main.bundle.js:401 __webpack_require__ @ inline.bundle.js:55 0 @ main.bundle.js:409 __webpack_require__ @ inline.bundle.js:55 webpackJsonpCallback @ inline.bundle.js:26 (anonymous) @ main.bundle.js:1

how to solve it

@DeborahK
Copy link
Owner

I don't have anything called "PopupMenuComponent" in this repo ... so I assume this is something you added? The error message seems to indicate that you have an error in your bindings somewhere.

Please recheck all of your bindings to ensure they start with "{{" and end with "}}".

@shriram9494
Copy link

shriram9494 commented May 24, 2018 via email

@shriram9494
Copy link

shriram9494 commented Jul 16, 2018 via email

@DeborahK
Copy link
Owner

These types of questions are best posted to www.stackoverflow.com. Thanks!

@shriram9494
Copy link

shriram9494 commented Jul 16, 2018 via email

@shriram9494
Copy link

shriram9494 commented Jul 16, 2018 via email

@shriram9494
Copy link

shriram9494 commented Jul 16, 2018 via email

@DeborahK
Copy link
Owner

Linked in.

@shriram9494
Copy link

shriram9494 commented Jul 17, 2018 via email

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