question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Building issues with Angular2.rc6

See original GitHub issue

Bug, feature request, or proposal:

I’m trying to run my project after updating my project to Angular2,rc6 and Material2 has building issues.

I’m using webpack, Angular2.rc6 and Material2 2.0.0-alpha.8-1

Here you can find the error:

ERROR in C:\myProject\node_modules\@angular2-material\progress-circle\progress-circle.d.ts
(17,14): error TS1005: '=' expected.

ERROR in C:\myProject\node_modules\@angular2-material\progress-circle\progress-circle.d.ts
(17,27): error TS1005: ';' expected.

ERROR in C:\myProject\node_modules\@angular2-material\progress-circle\progress-circle.d.ts
(18,14): error TS1005: '=' expected.

ERROR in C:\myProject\node_modules\@angular2-material\progress-circle\progress-circle.d.ts
(18,27): error TS1005: ';' expected.

ERROR in C:\myProject\node_modules\@angular2-material\progress-circle\progress-circle.d.ts
(17,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in C:\myProject\node_modules\@angular2-material\progress-circle\progress-circle.d.ts
(18,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in C:\myProject\node_modules\@angular2-material\progress-circle\progress-circle.d.ts
(17,29): error TS2300: Duplicate identifier 'number'.

ERROR in C:\myProject\node_modules\@angular2-material\progress-circle\progress-circle.d.ts
(18,29): error TS2300: Duplicate identifier 'number'.

ERROR in C:\myProject\node_modules\@angular2-material\progress-circle\progress-circle.d.ts
(17,14): error TS2304: Cannot find name '_ariaValueMin'.

ERROR in C:\myProject\node_modules\@angular2-material\progress-circle\progress-circle.d.ts
(17,29): error TS7008: Member 'number' implicitly has an 'any' type.

ERROR in C:\myProject\node_modules\@angular2-material\progress-circle\progress-circle.d.ts
(18,14): error TS2304: Cannot find name '_ariaValueMax'.

ERROR in C:\myProject\node_modules\@angular2-material\progress-circle\progress-circle.d.ts
(18,29): error TS7008: Member 'number' implicitly has an 'any' type.

ERROR in C:\myProject\node_modules\@angular2-material\button\button.d.ts
(28,14): error TS1005: '=' expected.

ERROR in C:\myProject\node_modules\@angular2-material\button\button.d.ts
(28,22): error TS1005: ';' expected.

ERROR in C:\myProject\node_modules\@angular2-material\button\button.d.ts
(29,14): error TS1005: '=' expected.

ERROR in C:\myProject\node_modules\@angular2-material\button\button.d.ts
(29,28): error TS1005: ';' expected.

ERROR in C:\myProject\node_modules\@angular2-material\button\button.d.ts
(28,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in C:\myProject\node_modules\@angular2-material\button\button.d.ts
(29,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in C:\myProject\node_modules\@angular2-material\button\button.d.ts
(28,14): error TS2304: Cannot find name 'tabIndex'.

ERROR in C:\myProject\node_modules\@angular2-material\button\button.d.ts
(28,24): error TS7008: Member 'number' implicitly has an 'any' type.

ERROR in C:\myProject\node_modules\@angular2-material\button\button.d.ts
(29,14): error TS2304: Cannot find name 'isAriaDisabled'.

ERROR in C:\myProject\node_modules\@angular2-material\button\button.d.ts
(29,30): error TS7008: Member 'string' implicitly has an 'any' type.

ERROR in C:\myProject\node_modules\@angular2-material\core\overlay\overlay-directives.d.ts
(12,14): error TS1005: '=' expected.

ERROR in C:\myProject\node_modules\@angular2-material\core\overlay\overlay-directives.d.ts
(12,24): error TS1005: ';' expected.

ERROR in C:\myProject\node_modules\@angular2-material\core\overlay\overlay-directives.d.ts
(24,14): error TS1005: '=' expected.

ERROR in C:\myProject\node_modules\@angular2-material\core\overlay\overlay-directives.d.ts
(24,24): error TS1005: ';' expected.

ERROR in C:\myProject\node_modules\@angular2-material\core\overlay\overlay-directives.d.ts
(12,14): error TS2304: Cannot find name 'elementRef'.

ERROR in C:\myProject\node_modules\@angular2-material\core\overlay\overlay-directives.d.ts
(12,26): error TS7008: Member 'ElementRef' implicitly has an 'any' type.

ERROR in C:\myProject\node_modules\@angular2-material\core\overlay\overlay-directives.d.ts
(24,14): error TS2304: Cannot find name 'overlayRef'.

ERROR in C:\myProject\node_modules\@angular2-material\core\overlay\overlay-directives.d.ts
(24,26): error TS7008: Member 'OverlayRef' implicitly has an 'any' type.

ERROR in C:\myProject\node_modules\@angular2-material\core\overlay\position\connected-position-strategy.d.ts
(24,14): error TS1005: '=' expected.

ERROR in C:\myProject\node_modules\@angular2-material\core\overlay\position\connected-position-strategy.d.ts
(24,23): error TS1005: ';' expected.

ERROR in C:\myProject\node_modules\@angular2-material\core\overlay\position\connected-position-strategy.d.ts
(24,47): error TS1005: '=' expected.

ERROR in C:\myProject\node_modules\@angular2-material\core\overlay\position\connected-position-strategy.d.ts
(24,14): error TS2304: Cannot find name 'positions'.

ERROR in C:\myProject\node_modules\@angular2-material\core\overlay\position\connected-position-strategy.d.ts
(24,25): error TS7008: Member 'ConnectionPositionPair' implicitly has an 'any[]' type.

ERROR in C:\myProject\node_modules\@angular2-material\core\portal\portal.d.ts
(14,14): error TS1005: '=' expected.

ERROR in C:\myProject\node_modules\@angular2-material\core\portal\portal.d.ts
(14,24): error TS1005: ';' expected.

ERROR in C:\myProject\node_modules\@angular2-material\core\portal\portal.d.ts
(53,14): error TS1005: '=' expected.

ERROR in C:\myProject\node_modules\@angular2-material\core\portal\portal.d.ts
(53,20): error TS1005: ';' expected.

ERROR in C:\myProject\node_modules\@angular2-material\core\portal\portal.d.ts
(14,14): error TS2304: Cannot find name 'isAttached'.

ERROR in C:\myProject\node_modules\@angular2-material\core\portal\portal.d.ts
(14,26): error TS7008: Member 'boolean' implicitly has an 'any' type.

ERROR in C:\myProject\node_modules\@angular2-material\core\portal\portal.d.ts
(53,14): error TS2304: Cannot find name 'origin'.

ERROR in C:\myProject\node_modules\@angular2-material\core\portal\portal.d.ts
(53,22): error TS7008: Member 'ElementRef' implicitly has an 'any' type.

ERROR in C:\myProject\node_modules\@angular2-material\input\input.d.ts
(50,14): error TS1005: '=' expected.

ERROR in C:\myProject\node_modules\@angular2-material\input\input.d.ts
(50,21): error TS1005: ';' expected.

ERROR in C:\myProject\node_modules\@angular2-material\input\input.d.ts
(51,14): error TS1005: '=' expected.

ERROR in C:\myProject\node_modules\@angular2-material\input\input.d.ts
(51,19): error TS1005: ';' expected.

ERROR in C:\myProject\node_modules\@angular2-material\input\input.d.ts
(52,14): error TS1005: '=' expected.

ERROR in C:\myProject\node_modules\@angular2-material\input\input.d.ts
(52,28): error TS1005: ';' expected.

ERROR in C:\myProject\node_modules\@angular2-material\input\input.d.ts
(53,14): error TS1005: '=' expected.

ERROR in C:\myProject\node_modules\@angular2-material\input\input.d.ts
(53,21): error TS1005: ';' expected.

ERROR in C:\myProject\node_modules\@angular2-material\input\input.d.ts
(82,14): error TS1005: '=' expected.

ERROR in C:\myProject\node_modules\@angular2-material\input\input.d.ts
(82,20): error TS1005: ';' expected.

ERROR in C:\myProject\node_modules\@angular2-material\input\input.d.ts
(82,44): error TS1005: '(' expected.

ERROR in C:\myProject\node_modules\@angular2-material\input\input.d.ts
(83,14): error TS1005: '=' expected.

ERROR in C:\myProject\node_modules\@angular2-material\input\input.d.ts
(83,21): error TS1005: ';' expected.

ERROR in C:\myProject\node_modules\@angular2-material\input\input.d.ts
(83,45): error TS1005: '(' expected.

ERROR in C:\myProject\node_modules\@angular2-material\input\input.d.ts
(85,14): error TS1005: '=' expected.

ERROR in C:\myProject\node_modules\@angular2-material\input\input.d.ts
(85,20): error TS1005: ';' expected.

ERROR in C:\myProject\node_modules\@angular2-material\input\input.d.ts
(50,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in C:\myProject\node_modules\@angular2-material\input\input.d.ts
(51,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in C:\myProject\node_modules\@angular2-material\input\input.d.ts
(50,23): error TS2300: Duplicate identifier 'boolean'.

ERROR in C:\myProject\node_modules\@angular2-material\input\input.d.ts
(51,21): error TS2300: Duplicate identifier 'boolean'.

ERROR in C:\myProject\node_modules\@angular2-material\input\input.d.ts
(50,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in C:\myProject\node_modules\@angular2-material\input\input.d.ts
(52,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in C:\myProject\node_modules\@angular2-material\input\input.d.ts
(50,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in C:\myProject\node_modules\@angular2-material\input\input.d.ts
(53,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in C:\myProject\node_modules\@angular2-material\input\input.d.ts
(50,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in C:\myProject\node_modules\@angular2-material\input\input.d.ts
(73,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in C:\myProject\node_modules\@angular2-material\input\input.d.ts
(50,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in C:\myProject\node_modules\@angular2-material\input\input.d.ts
(82,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in C:\myProject\node_modules\@angular2-material\input\input.d.ts
(50,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in C:\myProject\node_modules\@angular2-material\input\input.d.ts
(83,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in C:\myProject\node_modules\@angular2-material\input\input.d.ts
(50,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in C:\myProject\node_modules\@angular2-material\input\input.d.ts
(85,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in C:\myProject\node_modules\@angular2-material\input\input.d.ts
(50,14): error TS2304: Cannot find name 'focused'.

ERROR in C:\myProject\node_modules\@angular2-material\input\input.d.ts
(50,23): error TS7008: Member 'boolean' implicitly has an 'any' type.

ERROR in C:\myProject\node_modules\@angular2-material\input\input.d.ts
(51,14): error TS2304: Cannot find name 'empty'.

ERROR in C:\myProject\node_modules\@angular2-material\input\input.d.ts
(51,21): error TS7008: Member 'boolean' implicitly has an 'any' type.

ERROR in C:\myProject\node_modules\@angular2-material\input\input.d.ts
(52,14): error TS2304: Cannot find name 'characterCount'.

ERROR in C:\myProject\node_modules\@angular2-material\input\input.d.ts
(52,30): error TS7008: Member 'number' implicitly has an 'any' type.

ERROR in C:\myProject\node_modules\@angular2-material\input\input.d.ts
(53,14): error TS2304: Cannot find name 'inputId'.

ERROR in C:\myProject\node_modules\@angular2-material\input\input.d.ts
(53,23): error TS7008: Member 'string' implicitly has an 'any' type.

ERROR in C:\myProject\node_modules\@angular2-material\input\input.d.ts
(82,14): error TS2304: Cannot find name 'onBlur'.

ERROR in C:\myProject\node_modules\@angular2-material\input\input.d.ts
(82,22): error TS7010: 'Observable', which lacks return-type annotation, implicitly has an 'any' return type.

ERROR in C:\myProject\node_modules\@angular2-material\input\input.d.ts
(83,14): error TS2304: Cannot find name 'onFocus'.

ERROR in C:\myProject\node_modules\@angular2-material\input\input.d.ts
(83,23): error TS7010: 'Observable', which lacks return-type annotation, implicitly has an 'any' return type.

ERROR in C:\myProject\node_modules\@angular2-material\input\input.d.ts
(85,14): error TS2304: Cannot find name '_align'.

ERROR in C:\myProject\node_modules\@angular2-material\input\input.d.ts
(85,22): error TS7008: Member 'any' implicitly has an 'any' type.

ERROR in C:\myProject\node_modules\@angular\forms\src\form_providers.d.ts
(13,38): error TS2314: Generic type 'Type<T>' requires 1 type argument(s).

ERROR in C:\myProject\node_modules\@angular\forms\src\form_providers.d.ts
(18,47): error TS2314: Generic type 'Type<T>' requires 1 type argument(s).

ERROR in C:\myProject\node_modules\@angular\forms\src\directives\select_multiple_control_value_accessor.d.ts
(12,18): error TS2314: Generic type 'Type<T>' requires 1 type argument(s).

ERROR in C:\myProject\node_modules\@angular\forms\src\directives.d.ts
(26,46): error TS2314: Generic type 'Type<T>' requires 1 type argument(s).

ERROR in C:\myProject\node_modules\@angular\forms\src\directives.d.ts
(27,50): error TS2314: Generic type 'Type<T>' requires 1 type argument(s).

ERROR in C:\myProject\node_modules\@angular\forms\src\directives.d.ts
(28,50): error TS2314: Generic type 'Type<T>' requires 1 type argument(s).

ERROR in C:\myProject\node_modules\@angular\forms\src\directives.d.ts
(46,39): error TS2314: Generic type 'Type<T>' requires 1 type argument(s).

ERROR in C:\myProject\node_modules\@angular\forms\src\directives.d.ts
(50,48): error TS2314: Generic type 'Type<T>' requires 1 type argument(s).

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
eromero90commented, Sep 6, 2016

@DevVersion Thanks! I have updated TypeScript and it’s working now. Now I have issues with @angular/forms but I’m going to read more about the issue. Thanks again.

0reactions
angular-automatic-lock-bot[bot]commented, Sep 5, 2019

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Angular 2 RC5 to RC6 upgrade issues
2. I faced some build errors which got resolved, such as removing directives, pipes and providers from all components. Removed HTTP_PROVIDERS, ...
Read more >
Upgrading from Angular 2 RC-5 to RC-6 : r/Angular2
Does anybody have strange problems with @angular/http after the upgrade? Specifically, unable to import anything sane from '@angular/http' ...
Read more >
Possible Bug With Asymmetric Support For Nested ...
Ben Nadel demonstrates a possible bug with asymmetric support for nested animation transitions in Angular 2 RC 6. This is definitely open to ......
Read more >
Starting an Angular 2.0 project
During the last couple of months Angular 2 was substantially redesigned/improved in several areas. Now the app consists of modules, where one is ......
Read more >
[Solved]-Angular 2 RC6 problems with SystemJS-angular.js
As per new change in rc6 deprecated directives are removed and for default angular functionality ngModule is introduced in rc5 so you have...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found