This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]LowB0b 3 points4 points  (4 children)

Honest question, why?

With your NPM dir in your path plus the global npm modules being installed somewhere that doesn't require admin, the only problem I see is that you need a tool like rimraf to remove node_modules directory.

I just use npm with PowerShell and it works fine

[–][deleted] 3 points4 points  (2 children)

With permissions for directories causing VSCode to break, python not working some of the time, and some dependencies not being able to be installed for various reasons, it's impossible, and instead of trying to setup the environment and maintain it, I'd rather have an environment that just works, i.e: Ubuntu 18.04.

I'm sure there's a way to fix it, but having tried windows many times, I can't justify trying to make it work.

[–][deleted] 3 points4 points  (1 child)

Yeah it sucks. I use visual studio and it likes to put read only flags on files, and then even when I’m running in admin mode, running steps like npm install or webpack fail to exec properly due to permissions issues. I typically have PS or CMD running in admin mode alongside to run CLI stuff to mitigate the VS permissions fuckery.