ThomasToSpace on Nostr: I just started a plain typescript project, and was too lazy for a docker setup so I ...
I just started a plain typescript project, and was too lazy for a docker setup so I just installed Node with apt and went on my way.
I installed Typescript, that went fine, but when trying to use it it gave a vague error.
Quick search fixed it, but... I'm amazed by the cause: Typescript didn't support the version of Node I had installed, which sure.. That's okay. But why didn't NPM tell me this? NPM does not have node version constraints?!?
🤯
Published at
2024-06-01 18:04:16Event JSON
{
"id": "093747fa6f34754be46a4adbf6ee4518b593fd73fbe4f60a821ec01e30d4cf39",
"pubkey": "a6669ef6c8a1c284492dbe541a31447b1ed948ce250a7c9ef7988d2b248d1750",
"created_at": 1717265056,
"kind": 1,
"tags": [
[
"proxy",
"https://phpc.social/@thomastospace/112542682747540771",
"web"
],
[
"proxy",
"https://phpc.social/users/thomastospace/statuses/112542682747540771",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://phpc.social/users/thomastospace/statuses/112542682747540771",
"pink.momostr"
]
],
"content": "I just started a plain typescript project, and was too lazy for a docker setup so I just installed Node with apt and went on my way.\n\nI installed Typescript, that went fine, but when trying to use it it gave a vague error.\n\nQuick search fixed it, but... I'm amazed by the cause: Typescript didn't support the version of Node I had installed, which sure.. That's okay. But why didn't NPM tell me this? NPM does not have node version constraints?!?\n\n🤯",
"sig": "a1745755c2fa894d2abe1b37cc6deaf24719b2af9a5656ec317629b35f1696e24ef18f1d282d7910c3d4012df39b710dc3847d543a2d79c53fe4e1f105394404"
}