Join Nostr
2026-08-14 20:40:29 UTC

Henry on Nostr: Today I was having to work on a React project on #Windows. This endeavour is cursed. ...

Today I was having to work on a React project on #Windows. This endeavour is cursed. So cursed, that I fear the best solution will be to use Docker.

For example, I created a .gitignore file in #PowerShell with:echo "node_modules/" > .gitignore
, which created a file containing the expected text.

But it didn't work, and then tried to stage 853 Node packages. Lost half an hour until discovering that this creates a file encoded as UTF-16LE, which #git can't read, and needs it encoded as UTF-8, which is what most other tools I've encountered write by default. .npmrc has the same problem.