devedmonton / DES-Website

The Dev Edmonton Society website! We empower Edmonton Developers!
https://devedmonton.com
MIT License
28 stars 74 forks source link

Fix for v-html lint warning #212

Closed DerrykBoyd closed 1 year ago

DerrykBoyd commented 1 year ago

What issue is this referencing?

No linked issue, fix lint warning

Have you run the linting command in the README.md?

Have you taken a look at our contributing guidelines?

My node version matches the one suggested when running nvm use?

DerrykBoyd commented 1 year ago

Not sure why the netlify build is failing here.

MandyMeindersma commented 1 year ago

maybe if I just restart it, then it will work 🤷 I couldn't figure out why either

olimpiuus commented 1 year ago

We have an error during npm run generate. I think the problem occurs because we inject through {{description}} HTML text. Just an idea.


                    id: 1,
                    name: "Ian Phillipchuck",
                    title: "President",
                    imageLink: "/img/boardPictures/ianPhillipchuck.jpg",
                    description:
                        "Ian Phillipchuk is a Manager, Software Engineering at <a class='text-indigo-600' href='https://getjobber.com/'>Jobber</a>. Professionally, he does Software Consulting, Mobile and Web Development, as well as managing software teams and client projects.<br /><br /> At Dev Edmonton, he wants to grow the society to do more to help all the Devs in Edmonton, from providing resources for Meetups and Conferences for veteran developers, and helping new devs find their way and their first opportunities.<br /><br />Personally, he's probably getting fragged in Destiny 2 PVP for the bajillionth time, or building Lego with his kids.",
                    twitterHandle: "Protagorist",
                    linkedInAccount:
                        "https://www.linkedin.com/in/ian-phillipchuk-69a7009a/",
                    slackAccount: "Ian Phillipchuck",
                }, 
Prerendering 12 initial routes with crawler                                                                          nitro 11:23:34 AM
  ├─ /board (69ms)                                                                                                      nitro 11:23:34 AM
  ├─ /board_recruiting (70ms)                                                                                           nitro 11:23:34 AM
  ├─ /all_resources (71ms)                                                                                              nitro 11:23:34 AM
  ├─ /404 (72ms)                                                                                                        nitro 11:23:34 AM
  ├─ /all_events (70ms)                                                                                                 nitro 11:23:34 AM
  ├─ /become_a_member (72ms)                                                                                            nitro 11:23:34 AM
  ├─ /sponsors (72ms)                                                                                                   nitro 11:23:34 AM
  ├─ /404.html (68ms)                                                                                                   nitro 11:23:34 AM
  ├─ /code_of_conduct (70ms)                                                                                            nitro 11:23:34 AM
  ├─ /200.html (68ms)                                                                                                   nitro 11:23:34 AM
  ├─ / (73ms)                                                                                                           nitro 11:23:34 AM
  ├─ /contact (73ms)                                                                                                    nitro 11:23:34 AM
  ├─ /board_recruiting/_payload.json (1ms)                                                                              nitro 11:23:34 AM
  ├─ /board/_payload.json (2ms)                                                                                         nitro 11:23:34 AM
  ├─ /all_resources/_payload.json (1ms)                                                                                 nitro 11:23:34 AM
  ├─ /404/_payload.json (1ms)                                                                                           nitro 11:23:34 AM
  ├─ /all_events/_payload.json (1ms)                                                                                    nitro 11:23:34 AM
  ├─ /sponsors/_payload.json (2ms)                                                                                      nitro 11:23:34 AM
  ├─ /& (17ms) (Error: [404] Page not found: /&)                                                                        nitro 11:23:34 AM
  ├─ /become_a_member/_payload.json (1ms)                                                                               nitro 11:23:34 AM
  ├─ /code_of_conduct/_payload.json (6ms)                                                                               nitro 11:23:34 AM
  ├─ /_payload.json (6ms)                                                                                               nitro 11:23:34 AM
  ├─ /code_of_conduct/ (6ms)                                                                                            nitro 11:23:34 AM
  ├─ /contact/_payload.json (4ms)                                                                                       nitro 11:23:34 AM
                                                                                                                        nitro 11:23:34 AM
Errors prerendering:
  ├─ /& (404)                                                                                                           nitro 11:23:34 AM
                                                                                                                        nitro 11:23:34 AM

 ERROR  Exiting due to prerender errors.                                                                                      11:23:34 AM

  at prerender (node_modules/nitropack/dist/shared/nitro.1db3349c.mjs:189:11)
  at async node_modules/nuxt/dist/index.mjs:2641:7
  at async build (node_modules/nuxt/dist/index.mjs:3794:5)
  at async Object.invoke (node_modules/nuxi/dist/chunks/build.mjs:59:5)
  at async Object.invoke (node_modules/nuxi/dist/chunks/generate.mjs:36:5)
  at async _main (node_modules/nuxi/dist/cli.mjs:49:20)
olimpiuus commented 1 year ago

i miss clicked for closing merge request, sorry

olimpiuus commented 1 year ago

Yes , even through npm run build we didn't have an error, but our board page is not working properly.

Screenshot 2023-08-27 at 11 36 00 AM
DerrykBoyd commented 1 year ago

Right, I think I remember this now from years ago, we can't render the description like this since it has link tags in it. Will disable the lint warning and add a comment instead.

MandyMeindersma commented 1 year ago

You're my hero for fixing this one