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: patch-diff.githubusercontent.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:ef4fb9a2-7963-40c8-0abe-081cedc400a3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A45A:344520:311DD88:4131D01:69818E8A |
| html-safe-nonce | fca5eea63d26bacc00b1a646fc81d8ad75d9680ef5649b3155881ac4d64480c7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNDVBOjM0NDUyMDozMTFERDg4OjQxMzFEMDE6Njk4MThFOEEiLCJ2aXNpdG9yX2lkIjoiMTA0NjYyMzYwNDEyNjYxNzIyNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e2eae80fb0c4a9e663229ae119dacbca56df4572baf711be45e8db4388e8648a |
| 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 | e137814e266030874fd2c86863529d0622b13889eeda04148c57654b6ea84ad6 |
| 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 | dd58d68a7813bbec9c91422c8c35f4af33832d70 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width