René's URL Explorer Experiment


Title: AOT build error Cannot read property 'kind' of undefined · Issue #8434 · angular/angular-cli · GitHub

Open Graph Title: AOT build error Cannot read property 'kind' of undefined · Issue #8434 · angular/angular-cli

X Title: AOT build error Cannot read property 'kind' of undefined · Issue #8434 · angular/angular-cli

Description: Bug Report or Feature Request (mark with an x) - [x] bug report -> please search issues before submitting - [ ] feature request Versions. Angular CLI: 1.5.0 Node: 8.5.0 OS: darwin x64 Angular: 5.0.1 ... animations, common, compiler, comp...

Open Graph Description: Bug Report or Feature Request (mark with an x) - [x] bug report -> please search issues before submitting - [ ] feature request Versions. Angular CLI: 1.5.0 Node: 8.5.0 OS: darwin x64 Angular: 5.0....

X Description: Bug Report or Feature Request (mark with an x) - [x] bug report -> please search issues before submitting - [ ] feature request Versions. Angular CLI: 1.5.0 Node: 8.5.0 OS: darwin x64 Angular: 5...

Opengraph URL: https://github.com/angular/angular-cli/issues/8434

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"AOT build error Cannot read property 'kind' of undefined","articleBody":"\u003c!--\r\nIF YOU DON'T FILL OUT THE FOLLOWING INFORMATION YOUR ISSUE MIGHT BE CLOSED WITHOUT INVESTIGATING\r\n-->\r\n### Bug Report or Feature Request (mark with an `x`)\r\n```\r\n- [x] bug report -> please search issues before submitting\r\n- [ ] feature request\r\n```\r\n\r\n### Versions.\r\n\u003c!--\r\nOutput from: `ng --version`.\r\nIf nothing, output from: `node --version` and `npm --version`.\r\n  Windows (7/8/10). Linux (incl. distribution). macOS (El Capitan? Sierra?)\r\n-->\r\nAngular CLI: 1.5.0\r\nNode: 8.5.0\r\nOS: darwin x64\r\nAngular: 5.0.1\r\n... animations, common, compiler, compiler-cli, core, forms\r\n... http, language-service, platform-browser\r\n... platform-browser-dynamic, router\r\n\r\n@angular/cdk: 5.0.0-rc0\r\n@angular/cli: 1.5.0\r\n@angular/flex-layout: 2.0.0-beta.10-4905443\r\n@angular/material: 5.0.0-rc0\r\n@angular-devkit/build-optimizer: 0.0.32\r\n@angular-devkit/core: 0.0.20\r\n@angular-devkit/schematics: 0.0.35\r\n@ngtools/json-schema: 1.1.0\r\n@ngtools/webpack: 1.8.0\r\n@schematics/angular: 0.1.2\r\ntypescript: 2.4.2\r\nwebpack-bundle-analyzer: 2.9.1\r\nwebpack: 3.8.1\r\n\r\n### Repro steps.\r\n\u003c!--\r\nSimple steps to reproduce this bug.\r\nPlease include: commands run, packages added, related code changes.\r\nA link to a sample repo would help too.\r\n-->\r\nrm -rf node_modules/\r\nyarn add @angular/cli@latest -D\r\nng build --aot\r\n\r\n### The log given by the failure.\r\n\u003c!-- Normally this include a stack trace and some more information. -->\r\n`ERROR in Error: TypeError: Cannot read property 'kind' of undefined\r\n    at nodeCanBeDecorated (/Users/sam/Developer/ng-prime/node_modules/typescript/lib/typescript.js:7805:35)\r\n    at nodeIsDecorated (/Users/sam/Developer/ng-prime/node_modules/typescript/lib/typescript.js:7825:16)\r\n    at Object.nodeOrChildIsDecorated (/Users/sam/Developer/ng-prime/node_modules/typescript/lib/typescript.js:7829:16)\r\n    at isDecoratedClassElement (/Users/sam/Developer/ng-prime/node_modules/typescript/lib/typescript.js:51668:23)\r\n    at isInstanceDecoratedClassElement (/Users/sam/Developer/ng-prime/node_modules/typescript/lib/typescript.js:51659:20)\r\n    at Object.filter (/Users/sam/Developer/ng-prime/node_modules/typescript/lib/typescript.js:1652:25)\r\n    at getDecoratedClassElements (/Users/sam/Developer/ng-prime/node_modules/typescript/lib/typescript.js:51641:23)\r\n    at generateClassElementDecorationExpressions (/Users/sam/Developer/ng-prime/node_modules/typescript/lib/typescript.js:51815:27)\r\n    at addClassElementDecorationStatements (/Users/sam/Developer/ng-prime/node_modules/typescript/lib/typescript.js:51804:44)\r\n    at visitClassDeclaration (/Users/sam/Developer/ng-prime/node_modules/typescript/lib/typescript.js:51131:13)\r\n    at visitTypeScript (/Users/sam/Developer/ng-prime/node_modules/typescript/lib/typescript.js:50972:28)\r\n    at visitorWorker (/Users/sam/Developer/ng-prime/node_modules/typescript/lib/typescript.js:50785:24)\r\n    at sourceElementVisitorWorker (/Users/sam/Developer/ng-prime/node_modules/typescript/lib/typescript.js:50817:28)\r\n    at saveStateAndInvoke (/Users/sam/Developer/ng-prime/node_modules/typescript/lib/typescript.js:50738:27)\r\n    at sourceElementVisitor (/Users/sam/Developer/ng-prime/node_modules/typescript/lib/typescript.js:50799:20)\r\n    at visitNodes (/Users/sam/Developer/ng-prime/node_modules/typescript/lib/typescript.js:49280:48)`\r\n\r\n### Desired functionality.\r\n\u003c!--\r\nWhat would like to see implemented?\r\nWhat is the usecase?\r\n-->\r\nAOT build should be successful\r\n\r\n### Mention any other details that might be useful.\r\n\u003c!-- Please include a link to the repo if this is related to an OSS project. -->\r\nThe project built fine with AOT enabled with CLI v1.4.9\r\n","author":{"url":"https://github.com/samalexander","@type":"Person","name":"samalexander"},"datePublished":"2017-11-10T10:14:10Z","url":"https://github.com/angular/angular-cli/issues/8434"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:1a891ac8-9d46-933d-daca-79d3706b8267
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE736:2F543F:31E24E:424106:6B0190C8
html-safe-nonce3bb68c5cb616486bdf6084ebb9a7ece8adc74a75bcc19768d87f41f2dc26d96b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNzM2OjJGNTQzRjozMUUyNEU6NDI0MTA2OjZCMDE5MEM4IiwidmlzaXRvcl9pZCI6IjUyOTM3OTQ4Njc2OTkzNTU4NDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacdf1263ffbc1df4587dd5a537cea0be9bcf83dc57ee8d359393f363295bc57803
hovercard-subject-tagissue:272882975
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular-cli/8434/issue_layout
twitter:imagehttps://opengraph.githubassets.com/7dd38437824e2e5791a103170b52243d40291d944b291e5d63ec17579393dc56/angular/angular-cli/issues/8434
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7dd38437824e2e5791a103170b52243d40291d944b291e5d63ec17579393dc56/angular/angular-cli/issues/8434
og:image:altBug Report or Feature Request (mark with an x) - [x] bug report -> please search issues before submitting - [ ] feature request Versions. Angular CLI: 1.5.0 Node: 8.5.0 OS: darwin x64 Angular: 5.0....
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesamalexander
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/angular/angular-cli git https://github.com/angular/angular-cli.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id36891867
octolytics-dimension-repository_nwoangular/angular-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id36891867
octolytics-dimension-repository_network_root_nwoangular/angular-cli
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/angular-cli/issues/8434#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fissues%2F8434
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fissues%2F8434
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=angular%2Fangular-cli
Reloadhttps://github.com/angular/angular-cli/issues/8434
Reloadhttps://github.com/angular/angular-cli/issues/8434
Reloadhttps://github.com/angular/angular-cli/issues/8434
angularhttps://github.com/angular
angular-clihttps://github.com/angular/angular-cli
Codehttps://github.com/angular/angular-cli
Issues198 (198)https://github.com/angular/angular-cli/issues
Pull requests23 (23)https://github.com/angular/angular-cli/pulls
Actionshttps://github.com/angular/angular-cli/actions
Security and quality8 (8)https://github.com/angular/angular-cli/security
Insightshttps://github.com/angular/angular-cli/insights
https://github.com/angular/angular-cli
New issuehttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/8434
New issuehttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/8434
#9225https://github.com/angular/angular-cli/pull/9225
AOT build error Cannot read property 'kind' of undefinedhttps://github.com/angular/angular-cli/issues/8434#top
#9225https://github.com/angular/angular-cli/pull/9225
https://github.com/filipesilva
P1Impacts a large percentage of users; if a workaround exists it is partial or overly painfulhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22P1%22
severity3: brokenhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22severity3%3A%20broken%22
https://github.com/samalexander
samalexanderhttps://github.com/samalexander
on Nov 10, 2017https://github.com/angular/angular-cli/issues/8434#issue-272882975
Nexthttps://github.com/angular/angular-cli/issues/8434?timeline_page=1
https://github.com/DavidDNA
DavidDNAhttps://github.com/DavidDNA
on Nov 10, 2017https://github.com/angular/angular-cli/issues/8434#issuecomment-343496803
Broccohttps://github.com/Brocco
filipesilvahttps://github.com/filipesilva
on Nov 14, 2017https://github.com/angular/angular-cli/issues/8434#event-1341609039
Broccohttps://github.com/Brocco
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgenthttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22P3%22
severity3: brokenhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22severity3%3A%20broken%22
on Nov 14, 2017https://github.com/angular/angular-cli/issues/8434#event-1341609515
https://github.com/Axure
Axurehttps://github.com/Axure
on Nov 15, 2017https://github.com/angular/angular-cli/issues/8434#issuecomment-344573174
https://github.com/samalexander
samalexanderhttps://github.com/samalexander
on Nov 15, 2017https://github.com/angular/angular-cli/issues/8434#issuecomment-344575852
@Axurehttps://github.com/Axure
https://github.com/Axure
Axurehttps://github.com/Axure
on Nov 15, 2017https://github.com/angular/angular-cli/issues/8434#issuecomment-344579191
@selecthttps://github.com/select
https://github.com/arsyed04
arsyed04https://github.com/arsyed04
on Nov 19, 2017https://github.com/angular/angular-cli/issues/8434#issuecomment-345536389
https://github.com/cerebroo
cerebroohttps://github.com/cerebroo
on Nov 20, 2017https://github.com/angular/angular-cli/issues/8434#issuecomment-345595839
@arsyed04https://github.com/arsyed04
https://github.com/arsyed04
arsyed04https://github.com/arsyed04
on Nov 20, 2017https://github.com/angular/angular-cli/issues/8434#issuecomment-345606192
https://github.com/elvisbegovic
elvisbegovichttps://github.com/elvisbegovic
on Nov 20, 2017https://github.com/angular/angular-cli/issues/8434#issuecomment-345631138
https://github.com/billcheng
billchenghttps://github.com/billcheng
on Nov 20, 2017https://github.com/angular/angular-cli/issues/8434#issuecomment-345771481
https://github.com/danielsogl
danielsoglhttps://github.com/danielsogl
on Nov 20, 2017https://github.com/angular/angular-cli/issues/8434#issuecomment-345778840
https://github.com/1forh
1forhhttps://github.com/1forh
on Nov 21, 2017https://github.com/angular/angular-cli/issues/8434#issuecomment-345886687
https://github.com/akartynnik
akartynnikhttps://github.com/akartynnik
on Nov 21, 2017https://github.com/angular/angular-cli/issues/8434#issuecomment-346005112
dkocichhttps://github.com/dkocich
on Feb 27, 2018https://github.com/angular/angular-cli/issues/8434#event-1493729742
Temporal fix for AOT build bug - read details for bug descriptionhttps://github.com/dkocich/osm-pt-ngx-leaflet/commit/98dcf9024eeac6ce6f3ac87ef8d5f666e7032fee
98dcf90https://github.com/dkocich/osm-pt-ngx-leaflet/commit/98dcf9024eeac6ce6f3ac87ef8d5f666e7032fee
https://github.com/andrea-spotsoftware
andrea-spotsoftwarehttps://github.com/andrea-spotsoftware
on Mar 2, 2018https://github.com/angular/angular-cli/issues/8434#issuecomment-369867086
@morgansterhttps://github.com/morganster
https://github.com/front-end-developer
front-end-developerhttps://github.com/front-end-developer
on Apr 23, 2018https://github.com/angular/angular-cli/issues/8434#issuecomment-383709180
https://github.com/kevinbuhmann
kevinbuhmannhttps://github.com/kevinbuhmann
on Apr 23, 2018https://github.com/angular/angular-cli/issues/8434#issuecomment-383712483
@front-end-developerhttps://github.com/front-end-developer
https://github.com/angular/angular/blob/5.2.10/packages/compiler-cli/package.json#L18https://github.com/angular/angular/blob/5.2.10/packages/compiler-cli/package.json#L18
https://github.com/front-end-developer
front-end-developerhttps://github.com/front-end-developer
on Apr 23, 2018https://github.com/angular/angular-cli/issues/8434#issuecomment-383732052
https://github.com/front-end-developer
front-end-developerhttps://github.com/front-end-developer
on Apr 26, 2018https://github.com/angular/angular-cli/issues/8434#issuecomment-384797023
https://github.com/front-end-developer
front-end-developerhttps://github.com/front-end-developer
on Apr 26, 2018https://github.com/angular/angular-cli/issues/8434#issuecomment-384797475
https://github.com/juninhocruzg3
juninhocruzg3https://github.com/juninhocruzg3
on Apr 30, 2018https://github.com/angular/angular-cli/issues/8434#issuecomment-385495540
https://github.com/rodrigowindows
rodrigowindowshttps://github.com/rodrigowindows
on Aug 2, 2018https://github.com/angular/angular-cli/issues/8434#issuecomment-409764502
https://github.com/albanx
albanxhttps://github.com/albanx
on Dec 16, 2018https://github.com/angular/angular-cli/issues/8434#issuecomment-447668686
https://github.com/EssieShey
EssieSheyhttps://github.com/EssieShey
on Dec 21, 2018https://github.com/angular/angular-cli/issues/8434#issuecomment-449223073
https://github.com/gerardcarbo
gerardcarbohttps://github.com/gerardcarbo
on Feb 6, 2019https://github.com/angular/angular-cli/issues/8434#issuecomment-460963302
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Sep 9, 2019https://github.com/angular/angular-cli/issues/8434#issuecomment-529339263
automatic conversation locking policyhttps://github.com/angular/angular/blob/67d80f/docs/GITHUB_PROCESS.md#conversation-locking
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Sep 9, 2019https://github.com/angular/angular-cli/issues/8434#event-2617673353
clydinhttps://github.com/clydin
on Jun 28, 2022https://github.com/angular/angular-cli/issues/8434#event-6898205172
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular-cli/issues/8434
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/8434
filipesilvahttps://github.com/filipesilva
P1Impacts a large percentage of users; if a workaround exists it is partial or overly painfulhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22P1%22
severity3: brokenhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22severity3%3A%20broken%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.