Here is my component in Angular 4:
@Component( { selector: \'input-extra-field\', template: `
In my case, the error was triggered by duplicating an import of a component in the module.