insane amount of errors

Solution:
Michael Lee
What's the difference between a tilde (~) and a caret (^) in a npm ...
If you use npm to manage packages in your Node application, you’re probably familiar with the package.json file.
Jump to solution
20 Replies
dayflare
dayflareβ€’2w ago
"typescript": "^5.4.5" "@sapphire/decorators": "^6.0.1", "@sapphire/discord-utilities": "^3.0.3", "@sapphire/discord.js-utilities": "^6.0.7", "@sapphire/fetch": "^2.4.1", "@sapphire/framework": "^5.2.1", "@sapphire/plugin-api": "^5.1.0", "@sapphire/plugin-editable-commands": "^3.0.2", "@sapphire/plugin-logger": "^3.0.4", "@sapphire/plugin-subcommands": "^4.0.1", "@sapphire/time-utilities": "^1.7.9", "@sapphire/type": "^2.4.0", "@sapphire/utilities": "^3.12.0", "@Skyra/env-utilities": "^1.2.1", can someone lmk if its to do with my packages oops didnt mean to ping that person
dayflare
dayflareβ€’2w ago
oop i looked in that thread doesnt help me my ts is already at 5.4.5
UndiedGFX
UndiedGFXβ€’2w ago
@kyra 🩡🩷🀍🩷🩡 did 5.4.5 break @sapphire/result?
kyra
kyraβ€’2w ago
I’m pretty sure nothing works on latest TS
dayflare
dayflareβ€’2w ago
im on 5.4 tho not 5.5
MRDGH2821
MRDGH2821β€’2w ago
this is happening in CI right? does this do a fresh run of everything? can you try locally?
dayflare
dayflareβ€’2w ago
doing it on railway
dayflare
dayflareβ€’2w ago
also these errors lemme try locally it works locally
MRDGH2821
MRDGH2821β€’2w ago
there may be some problem in railway then. Try a cold build, i.e. tell railway to provision a new empty container with node 20 lts clean install dependencies build further steps
dayflare
dayflareβ€’2w ago
ill open a ticket in railway too
Favna
Favnaβ€’2w ago
You're not on 5.4.5 if you have ^5.4.5 @dayflare
Solution
Favna
Favnaβ€’2w ago
Michael Lee
What's the difference between a tilde (~) and a caret (^) in a npm ...
If you use npm to manage packages in your Node application, you’re probably familiar with the package.json file.
dayflare
dayflareβ€’2w ago
what the sigma life saver ty
Ruin 🌈🐲
So is the solution to this to stay on an outdated version of TypeScript?
Favna
Favnaβ€’2w ago
for now yes TS doesnt do semver, they push breaking changes in minor versions
Sandy Stone
Sandy Stoneβ€’3d ago
Is this a TypeScript issue or a framework issue that needs to be work on?
kyra
kyraβ€’3d ago
TypeScript issue