Title: Error even with source code for lecture 78 (previous lecture Nr52 ? ) · Issue #3 · LearnWebCode/javascript · GitHub
Open Graph Title: Error even with source code for lecture 78 (previous lecture Nr52 ? ) · Issue #3 · LearnWebCode/javascript
X Title: Error even with source code for lecture 78 (previous lecture Nr52 ? ) · Issue #3 · LearnWebCode/javascript
Description: Hello, There seems to be a problem with the 52-end.zip source code package. In lesson 78 I cant get the author name to be dynamic and my app keeps crashing. Link to course: https://www.udemy.com/course/learn-javascript-full-stack-from-sc...
Open Graph Description: Hello, There seems to be a problem with the 52-end.zip source code package. In lesson 78 I cant get the author name to be dynamic and my app keeps crashing. Link to course: https://www.udemy.com/co...
X Description: Hello, There seems to be a problem with the 52-end.zip source code package. In lesson 78 I cant get the author name to be dynamic and my app keeps crashing. Link to course: https://www.udemy.com/co...
Opengraph URL: https://github.com/LearnWebCode/javascript/issues/3
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error even with source code for lecture 78 (previous lecture Nr52 ? ) ","articleBody":"Hello,\r\n\r\nThere seems to be a problem with the 52-end.zip source code package. In lesson 78 I cant get the author name to be dynamic and my app keeps crashing. Link to course: https://www.udemy.com/course/learn-javascript-full-stack-from-scratch/learn/lecture/15187916\r\n\r\nWhen you try to visit a post you do have created like this example.\r\n\r\nhttp://localhost:3000/post/63737db924dc689ee19085eb\r\nWhen you run it , it throws a error.\r\n\r\nI was comparing my code with the source code because I thought I made a typo, but this error also shows up when running your source code\r\n\r\n**The error**\r\n\r\n/var/www/html/52/models/Post.js:67\r\n username: post.author.username, [](url) \r\nTypeError: Cannot read properties of undefined (reading 'username')\r\n at /var/www/html/52/models/Post.js:67:31\r\n at Array.map (\u003canonymous\u003e)\r\n at /var/www/html/52/models/Post.js:65:19\r\n at processTicksAndRejections (node:internal/process/task_queues:96:5)\r\n\r\n**Enclosure**\r\n[52-end.zip](https://github.com/LearnWebCode/javascript/files/10014353/52-end.zip)\r\n","author":{"url":"https://github.com/TheLaughingThird","@type":"Person","name":"TheLaughingThird"},"datePublished":"2022-11-15T16:18:16.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/3/javascript/issues/3"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e55a47fc-14a0-5741-fe88-04d6dd759d44 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A5E4:14F879:55B878:758E23:6981DE25 |
| html-safe-nonce | b3883fa2f1c81a165a7977f05e6a4d925f92b58f04d8900f81e10efc5061a3c1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNUU0OjE0Rjg3OTo1NUI4Nzg6NzU4RTIzOjY5ODFERTI1IiwidmlzaXRvcl9pZCI6IjM0ODE2NDY1NTk0NTA0ODgzNTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4966c9f9e8ce6094c20d0976ebcb6e237eb243cb57458d5e247c4ffc02349052 |
| hovercard-subject-tag | issue:1450043833 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/LearnWebCode/javascript/3/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f693135f1f14e82e589b08eff30a7aacfaed6f874fcffced16b5fb6ad1f0f6f6/LearnWebCode/javascript/issues/3 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f693135f1f14e82e589b08eff30a7aacfaed6f874fcffced16b5fb6ad1f0f6f6/LearnWebCode/javascript/issues/3 |
| og:image:alt | Hello, There seems to be a problem with the 52-end.zip source code package. In lesson 78 I cant get the author name to be dynamic and my app keeps crashing. Link to course: https://www.udemy.com/co... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | TheLaughingThird |
| hostname | github.com |
| expected-hostname | github.com |
| None | ebfdf8d3e0fd17b103f41cc6696d84938694ebebdfecaf11fe00dbe4a9785801 |
| turbo-cache-control | no-preview |
| go-import | github.com/LearnWebCode/javascript git https://github.com/LearnWebCode/javascript.git |
| octolytics-dimension-user_id | 7797727 |
| octolytics-dimension-user_login | LearnWebCode |
| octolytics-dimension-repository_id | 179357194 |
| octolytics-dimension-repository_nwo | LearnWebCode/javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 179357194 |
| octolytics-dimension-repository_network_root_nwo | LearnWebCode/javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 471ae8701b77c1bf177c58019d2e6fd65ae89141 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width