-
Notifications
You must be signed in to change notification settings - Fork 12k
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
Cannot read property 'kind' of undefined #3307
Comments
Yep, got that too angular-cli: 1.0.0-beta.19-3 installing component |
Yes, happens on my system as well: angular-cli: 1.0.0-beta.18 |
here too |
Here too: node: 6.5.0 |
Me too: node: 6.9.1 |
Same here. MacOS Sierra |
…they do not exist fixes angular#3307
…they do not exist fixes angular#3307
…they do not exist fixes angular#3307
This should be fixed now in master. |
…they do not exist Fix angular#3307 Close angular#3912
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
OS
Versions.
ng version
angular-cli: 1.0.0-beta.21
node: 7.1.0
os: linux x64
Repro steps.
ng g component components/beat-feed
The log given by the failure.
ng g component components/beat-feed
installing component
create src/app/components/beat-feed/beat-feed.component.scss
create src/app/components/beat-feed/beat-feed.component.html
create src/app/components/beat-feed/beat-feed.component.spec.ts
create src/app/components/beat-feed/beat-feed.component.ts
Cannot read property 'kind' of undefined
TypeError: Cannot read property 'kind' of undefined
at visit (/home/user/Projects/prwire/tools/@angular/tsc-wrapped/src/symbols.ts:34:54)
at visitEachNode (/home/user/Projects/prwire/interface/node_modules/typescript/lib/typescript.js:12983:30)
at Object.forEachChild (/home/user/Projects/prwire/interface/node_modules/typescript/lib/typescript.js:13143:24)
at Symbols.buildImports (/home/user/Projects/prwire/tools/@angular/tsc-wrapped/src/symbols.ts:100:10)
at Symbols.get [as symbols] (/home/user/Projects/prwire/tools/@angular/tsc-wrapped/src/symbols.ts:21:12)
at Symbols.resolve (/home/user/Projects/prwire/tools/@angular/tsc-wrapped/src/symbols.ts:10:63)
at /home/user/Projects/prwire/interface/node_modules/@angular-cli/ast-tools/src/ast-utils.js:104:36
at FilterSubscriber._next (/home/user/Projects/prwire/interface/node_modules/@angular-cli/ast-tools/node_modules/rxjs/src/operator/filter.ts:86:31)
at FilterSubscriber.Subscriber.next (/home/user/Projects/prwire/interface/node_modules/@angular-cli/ast-tools/node_modules/rxjs/src/Subscriber.ts:95:12)
at MapSubscriber._next (/home/user/Projects/prwire/interface/node_modules/@angular-cli/ast-tools/node_modules/rxjs/src/operator/map.ts:84:22)
at MapSubscriber.Subscriber.next (/home/user/Projects/prwire/interface/node_modules/@angular-cli/ast-tools/node_modules/rxjs/src/Subscriber.ts:95:12)
at FilterSubscriber._next (/home/user/Projects/prwire/interface/node_modules/@angular-cli/ast-tools/node_modules/rxjs/src/operator/filter.ts:92:24)
at FilterSubscriber.Subscriber.next (/home/user/Projects/prwire/interface/node_modules/@angular-cli/ast-tools/node_modules/rxjs/src/Subscriber.ts:95:12)
at ReplaySubject._subscribe (/home/user/Projects/prwire/interface/node_modules/@angular-cli/ast-tools/node_modules/rxjs/src/ReplaySubject.ts:41:18)
at ReplaySubject.Observable.subscribe (/home/user/Projects/prwire/interface/node_modules/@angular-cli/ast-tools/node_modules/rxjs/src/Observable.ts:95:21)
at Observable._subscribe (/home/user/Projects/prwire/interface/node_modules/@angular-cli/ast-tools/node_modules/rxjs/src/Observable.ts:155:24)
at Observable.subscribe (/home/user/Projects/prwire/interface/node_modules/@angular-cli/ast-tools/node_modules/rxjs/src/Observable.ts:95:21)
at Observable._subscribe (/home/user/Projects/prwire/interface/node_modules/@angular-cli/ast-tools/node_modules/rxjs/src/Observable.ts:155:24)
at FilterOperator.call (/home/user/Projects/prwire/interface/node_modules/@angular-cli/ast-tools/node_modules/rxjs/src/operator/filter.ts:61:19)
at Observable.subscribe (/home/user/Projects/prwire/interface/node_modules/@angular-cli/ast-tools/node_modules/rxjs/src/Observable.ts:93:16)
at Observable._subscribe (/home/user/Projects/prwire/interface/node_modules/@angular-cli/ast-tools/node_modules/rxjs/src/Observable.ts:155:24)
at MapOperator.call (/home/user/Projects/prwire/interface/node_modules/@angular-cli/ast-tools/node_modules/rxjs/src/operator/map.ts:54:19)
at Observable.subscribe (/home/user/Projects/prwire/interface/node_modules/@angular-cli/ast-tools/node_modules/rxjs/src/Observable.ts:93:16)
at Observable._subscribe (/home/user/Projects/prwire/interface/node_modules/@angular-cli/ast-tools/node_modules/rxjs/src/Observable.ts:155:24)
at FilterOperator.call (/home/user/Projects/prwire/interface/node_modules/@angular-cli/ast-tools/node_modules/rxjs/src/operator/filter.ts:61:19)
at Observable.subscribe (/home/user/Projects/prwire/interface/node_modules/@angular-cli/ast-tools/node_modules/rxjs/src/Observable.ts:93:16)
at Observable._subscribe (/home/user/Projects/prwire/interface/node_modules/@angular-cli/ast-tools/node_modules/rxjs/src/Observable.ts:155:24)
at FilterOperator.call (/home/user/Projects/prwire/interface/node_modules/@angular-cli/ast-tools/node_modules/rxjs/src/operator/filter.ts:61:19)
at Observable.subscribe (/home/user/Projects/prwire/interface/node_modules/@angular-cli/ast-tools/node_modules/rxjs/src/Observable.ts:93:16)
at Observable._subscribe (/home/user/Projects/prwire/interface/node_modules/@angular-cli/ast-tools/node_modules/rxjs/src/Observable.ts:155:24)
at MapOperator.call (/home/user/Projects/prwire/interface/node_modules/@angular-cli/ast-tools/node_modules/rxjs/src/operator/map.ts:54:19)
at Observable.subscribe (/home/user/Projects/prwire/interface/node_modules/@angular-cli/ast-tools/node_modules/rxjs/src/Observable.ts:93:16)
at /home/user/Projects/prwire/interface/node_modules/@angular-cli/ast-tools/node_modules/rxjs/src/operator/toPromise.ts:24:10
at Observable.toPromise (/home/user/Projects/prwire/interface/node_modules/@angular-cli/ast-tools/node_modules/rxjs/src/operator/toPromise.ts:22:10)
at _addSymbolToNgModuleMetadata (/home/user/Projects/prwire/interface/node_modules/@angular-cli/ast-tools/src/ast-utils.js:135:10)
at Object.addDeclarationToModule (/home/user/Projects/prwire/interface/node_modules/@angular-cli/ast-tools/src/ast-utils.js:230:12)
at Class.afterInstall (/home/user/Projects/prwire/interface/node_modules/angular-cli/blueprints/component/index.js:147:18)
at tryCatch (/home/user/Projects/prwire/interface/node_modules/rsvp/dist/lib/rsvp/-internal.js:215:12)
at invokeCallback (/home/user/Projects/prwire/interface/node_modules/rsvp/dist/lib/rsvp/-internal.js:230:13)
at publish (/home/user/Projects/prwire/interface/node_modules/rsvp/dist/lib/rsvp/-internal.js:198:7)
at flush (/home/user/Projects/prwire/interface/node_modules/rsvp/dist/lib/rsvp/asap.js:85:5)
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)
The text was updated successfully, but these errors were encountered: