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
dayflareOPβ€’6mo 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
dayflareOPβ€’6mo ago
oop i looked in that thread doesnt help me my ts is already at 5.4.5
UndiedGFX
UndiedGFXβ€’6mo ago
@kyra 🩡🩷🀍🩷🩡 did 5.4.5 break @sapphire/result?
kyra
kyraβ€’6mo ago
I’m pretty sure nothing works on latest TS
dayflare
dayflareOPβ€’6mo ago
im on 5.4 tho not 5.5
MRDGH2821
MRDGH2821β€’6mo ago
this is happening in CI right? does this do a fresh run of everything? can you try locally?
dayflare
dayflareOPβ€’6mo ago
doing it on railway
dayflare
dayflareOPβ€’6mo ago
also these errors lemme try locally it works locally
MRDGH2821
MRDGH2821β€’6mo 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
dayflareOPβ€’6mo ago
ill open a ticket in railway too
Favna
Favnaβ€’6mo ago
You're not on 5.4.5 if you have ^5.4.5 @dayflare
Solution
Favna
Favnaβ€’6mo 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
dayflareOPβ€’6mo ago
what the sigma life saver ty
Ruin 🌈🐲
Ruin πŸŒˆπŸ²β€’6mo ago
So is the solution to this to stay on an outdated version of TypeScript?
Favna
Favnaβ€’6mo ago
for now yes TS doesnt do semver, they push breaking changes in minor versions
Sandy Stone
Sandy Stoneβ€’6mo ago
Is this a TypeScript issue or a framework issue that needs to be work on?
kyra
kyraβ€’6mo ago
TypeScript issue
Want results from more Discord servers?
Add your server