Answer the question
In order to leave comments, you need to log in
How do I remove a globally installed sass?
In general, I tried to install sass using "npm i node-sass" in a react, typescript, sass project. But after trying to solve the problem of node and sass incompatibility somehow it turned out that sass is installed globally. I deleted the project itself and even outside the project, when checking the sass version using the "npm node-scss -v" command, version 8.1.0 is issued (as I understand it, sass is installed globally). How and where can I find sass dependencies and packages to remove them? I want to start the project again. Tried given commands "npm uninstall -g node-sass" and "npm uninstall node-sass" . It still shows the version.
Answer the question
In order to leave comments, you need to log in
Try clearing your cache, it might help.
npm cache clean --force
Where to install global libraries.
npm list -g
On Unix systems, they are usually placed in /usr/local/lib/node or /usr/local/lib/node_modules when installed globally. If you set the environment's NODE_PATH to this path, modules can be found by node.
Windows XP - %USERPROFILE%\AppData\npm\node_modules
Windows 7, 8 and 10 - %USERPROFILE%\AppData\Roaming\npm\node_modules
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question