How to Resolve Vulnerabilities when "npm audit fix" does not work

Поділитися
Вставка
  • Опубліковано 11 січ 2025

КОМЕНТАРІ • 40

  • @lucas.hahn2027
    @lucas.hahn2027 5 місяців тому +4

    It also always says I am not using the latest version even though I've checked multiple times

  • @VikasRawat-oi2td
    @VikasRawat-oi2td 2 місяці тому

    Thankyou brother ,I was trying to solve it for last 24 hours.

  • @lucas.hahn2027
    @lucas.hahn2027 5 місяців тому +2

    I have 160+ vulnerabilities. I'll pay for someone to fix. But if you could do it for free that would be genuine.

    • @TYCS_562_Neeraj
      @TYCS_562_Neeraj 4 місяці тому

      just do npm init -y in terminal

    • @sxhub6909
      @sxhub6909 2 місяці тому

      @@TYCS_562_Neerajand all issues will be fixed?
      I did and it wrote to C:\folder
      What next?

  • @saikiran0311
    @saikiran0311 5 місяців тому +1

    A template was not provided. This is likely because you're using an outdated version of create-react-app.
    Please note that global installs of create-react-app are no longer supported.
    You can fix this by running npm uninstall -g create-react-app or yarn global remove create-react-app before using create-react-app again.
    while im setup the project like this coming..

    • @HassaanRaza
      @HassaanRaza  5 місяців тому

      react apps are now made with the support of some framework on its official documentation it is mentioned, you can use next.js or vite.js for it.
      react.dev/learn/start-a-new-react-project

    • @HassaanRaza
      @HassaanRaza  5 місяців тому

      ua-cam.com/video/ZgXPqzU4F7M/v-deo.html
      in this video i have created a react app with next.js

    • @amir-amiran-d4u
      @amir-amiran-d4u 12 днів тому +1

      can you explain more about that you mean we don't use {npx create-react}anymore ?

    • @HassaanRaza
      @HassaanRaza  11 днів тому

      Yes for new apps that are created with react, we dont use that command, react also completely changed its documentation 1-2 years ago..
      Read this:
      react.dev/learn/start-a-new-react-project

  • @UpVerse7
    @UpVerse7 2 місяці тому

    am using expo to create the react app and it comes back with 8 vulnerabilities when i use you're method it works!!!... but i noticed it creates the package-lock-jason file in the root folder and not in the same location it was in before.... why is that just wanted to know?

    • @HassaanRaza
      @HassaanRaza  2 місяці тому

      i don't know, it never happened to me, i i use next to create new react apps.

  • @BilalKanjelkheir
    @BilalKanjelkheir Місяць тому

    Thank you so much, but the problem is that I have over 150 vulnerabilities and doing this manually wouldn't be easy at all

  • @miraihibiki7646
    @miraihibiki7646 Місяць тому

    I'm saving this video. It's very helpful! Thank you very much

  • @Zarinabaloch716
    @Zarinabaloch716 4 місяці тому

    You're awesome bro, Allah bless you. You're a life saver. Resolved my issue with it
    Thanks❤

  • @passgame3.0
    @passgame3.0 Місяць тому

    help me bro i don't work and dead line is three day after and i don't start project because of this erorr

  • @saimadhulenka1234
    @saimadhulenka1234 4 місяці тому

    It's Working bro really awesome content and it's help me a lot thank you so much🥰

  • @halimayasmin3585
    @halimayasmin3585 4 місяці тому

    It's really awesome content and it's help me a lot thank you so much

  • @rishiuc
    @rishiuc 10 днів тому

    I've 160 vulnerability how to fix it all??

    • @HassaanRaza
      @HassaanRaza  10 днів тому

      watch video carefully its a step by step process first command will clear many vulnerability then you must go manual on rest of them

  • @suhasvarna8073
    @suhasvarna8073 Місяць тому +1

    Thank you so much bro!!!!!!!!!

  • @rudabaasad937
    @rudabaasad937 Місяць тому

    thanks brother
    it helped me a lot

  • @OjasKhare_2811
    @OjasKhare_2811 Місяць тому

    Brother thankyou giving me solution :)

  • @joyceannantolihao6237
    @joyceannantolihao6237 2 місяці тому

    bruh, u just saved my life. thanks a lot.

  • @woochille7471
    @woochille7471 2 місяці тому

    Thank youuuuuu, solved my issue

  • @gauravvijaykaple1716
    @gauravvijaykaple1716 3 місяці тому

    Thank you sir🙏🙏🙏

  • @Public-Static-void
    @Public-Static-void 2 місяці тому

    thank you my brother

  • @marcelomartinez7187
    @marcelomartinez7187 2 місяці тому

    muchas gracias, por todo

  • @DavidMatarolli
    @DavidMatarolli 2 місяці тому

    Thx. Man...