Error on Contact Manager tutorial


#1

i have this error when following the contact manager tutorial, im pretty sure i followed every step.
The error appears when i dont have a template or class defined yet. and make a click on a contact

According to the tutorial it should print ERROR [app-router] Error: Script error for "contact-detail"
instead i got ERROR [app-router] Error: expected expression, got ‘<’

However the routing works perfectly when i create such component.


#2

Hi,

Can you share the source on Github? I will check it :slight_smile:


#3

hello sorry for the delay here is the github project https://github.com/geomorillo/aureliatutorial.git


#4

Hi

What is your problem exactly?
I got your project and downloaded packages with npm install then ran with au run.

everything works perfectly. I have no error :slight_smile:

If you explain more, I might be able to help you.


#5

Offcourse it has no error you have the complete code , first remove the contact-detail view and the related model then click on any contact

i got : ERROR [app-router] Error: expected expression, got ‘<’
should be : ERROR [app-router] Error: Script error for “contact-detail”