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.
Published at
2026-08-14 20:40:29 UTCEvent JSON
{
"id": "781397e9b88a793745e9cfbb960bfcf7801f57c9ab2c1bea3ad9ab8cdd86af59",
"pubkey": "48533820efaf6c87a34ef3120e9adeb0c6760666365be63576f587e284053b12",
"created_at": 1786740029,
"kind": 1,
"tags": [
[
"proxy",
"https://social.lol/@hl/117095794540704813",
"web"
],
[
"t",
"powershell"
],
[
"t",
"git"
],
[
"t",
"windows"
],
[
"proxy",
"https://social.lol/users/hl/statuses/117095794540704813",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://social.lol/users/hl/statuses/117095794540704813",
"pink.momostr"
],
[
"-"
]
],
"content": "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.\n\nFor example, I created a .gitignore file in #PowerShell with:echo \"node_modules/\" \u0026gt; .gitignore\n , which created a file containing the expected text.\n\nBut 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.",
"sig": "2a345c917d0a29c196e03f6b04eb81992733ed983dcd6c4148d2b3ed43471132fe516cd102b2b955a13a685bb338525a657cc602615f59a36de709409c826e0d"
}