3 ms·
It makes me rip my hair out. I brought my own SSD to work to install Linux Mint because I was sick of Windows headaches. You are REQUIRED to install Visual Stud
by beeboop 10y ago
It makes me rip my hair out. I brought my own SSD to work to install Linux Mint because I was sick of Windows headaches. You are REQUIRED to install Visual Studio for most npm installs to work (for building stuff). Constant file path issues. That's corrected by deleting the node_modules folder which sometimes takes 20 minutes, and often also fails because the file path is too long which means you just have to rename it and have it forever stuck there unless you get some special software to remove it. Installing web stack takes longer on Windows and is error prone. Lots of smaller projects don't work well on Windows. You have to use inferior version of name version manager. The list goes on. Don't do it.
- NoGravitas 10y ago'npm install -g rimraf' will provide the special software needed to delete files whose path names are too long in Windows. I deal with this all the time with Atom extensions, and it drives me crazy. It drives me crazy that it's even possible for the normal file creation APIs to create files that the normal file rename and delete APIs can't process.
- beeboop 10y agoI was honestly in disbelief when I first came across it. It just seems insanely stupid on so many levels.
- jakub_g 10y agoAFAIR, the case is that NTFS supports long file paths very well, and Windows has APIs to deal with long paths, but a lot of software (Windows Explorer inexplicably being one of them) uses old APIs that choke on paths over 260 chars. `rimraf` solves the issue of deleting such files and it's one of the must-have tools when doing node dev on windows, like `grep` etc
- nailer 10y ago> You have to use inferior version of name version manager. What is name version manager? Couldn't find anything when searching.
- beeboop 10y agoAuto correct error from phone. Node version manager
- smt88 10y agoI've been using Node on Windows for about a year and have had exactly zero of these problems. If Visual Studio has ever been installed, it's been done silently by npm (which I seriously doubt).