I am learning react and I am new to really using the terminal and have been trying to familiarize myself with how to use it. And I have been successful at figuring most things out from YouTube, Stack Overflow and Google without having to ask (post) a question. However I am having issues with trying to import react icons. I am going through the Youtube video teaching how to create a react todo list app. I go to the terminal in VSC on my macbook and my understanding I have npm installed. I then go to input "npm install react-icons" and at first I got a list of error messages saying
"npm warn and some description next to it. It then said at the bottom audited 2400 packages in 14s
found 77 vulnerabilities (6 low, 66 moderate, 5 high)
run npm audit fix to fix them, or npm audit for details"
I then copied and pasted "npm audit fix" After that I then got an error message very similar to the first one but this time saying if you want them to be completely updated and not have any errors then input "npm audit fix --force" Once I did this I then got this last screen shot which now I know this is very bad. And I don't know what to do next at all.
All I am trying to do is install my react icons for this project and also learn. I am very curious on the step by step process on what needs to be done to get this fixed. Thanks for your time to read this and helping out. photo of last error message
Your project setting or mac seems like has a problem. Using terminal, my win10 laptop works exactly with command - "npm install react-icons". Like this.
Reconstruct your project, or use "npm init -y" then, rebuild package.json file.
Thank you for reaching out. I have actually gotten an update. So I input rm -rf node_modules. Which then takes me back to square one where I am now able to input the install for the react icons. I double checked to make sure they are actually accessible on my react-app package and it shows that it is listed.