[Flamework]: Failed to load! TS version mismatch detected

I keep getting this message, i don't know how to fix it. I have 5.2.2 installed on NPM and bun. package.json:
{
"name": "zoo-game-ts",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"build": "rbxtsc",
"watch": "rbxtsc -w"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@rbxts/compiler-types": "^2.3.0-types.1",
"@rbxts/types": "^1.0.777",
"@typescript-eslint/eslint-plugin": "^6.7.5",
"@typescript-eslint/parser": "^6.7.5",
"eslint": "^7.31.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-roblox-ts": "^0.0.30",
"prettier": "^2.3.2",
"rbxts-transformer-flamework": "^1.2.2",
"roblox-ts": "^2.3.0",
"typescript": "~5.2.2"
},
"dependencies": {
"@flamework/components": "^1.2.2",
"@flamework/core": "^1.2.2",
"@flamework/networking": "^1.2.2",
"@rbxts/shared-components-flamework": "^2.6.1",
"@rbxts/services": "^1.5.5"
}
}
{
"name": "zoo-game-ts",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"build": "rbxtsc",
"watch": "rbxtsc -w"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@rbxts/compiler-types": "^2.3.0-types.1",
"@rbxts/types": "^1.0.777",
"@typescript-eslint/eslint-plugin": "^6.7.5",
"@typescript-eslint/parser": "^6.7.5",
"eslint": "^7.31.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-roblox-ts": "^0.0.30",
"prettier": "^2.3.2",
"rbxts-transformer-flamework": "^1.2.2",
"roblox-ts": "^2.3.0",
"typescript": "~5.2.2"
},
"dependencies": {
"@flamework/components": "^1.2.2",
"@flamework/core": "^1.2.2",
"@flamework/networking": "^1.2.2",
"@rbxts/shared-components-flamework": "^2.6.1",
"@rbxts/services": "^1.5.5"
}
}
bunx tsc --version:
sh
Version 5.2.2
sh
Version 5.2.2
npx tsc --version
npx tsc --version
npx tsc --version
No description
5 Replies
Unknown User
Unknown User4w ago
Message Not Public
Sign In & Join Server To View
Nunya9k
Nunya9kOP4w ago
Okay
duck
duck4w ago
ur using roblox-ts v2.3.0, the current one is v3.0.0
Unknown User
Unknown User4w ago
Message Not Public
Sign In & Join Server To View
Nunya9k
Nunya9kOP4w ago
Got it working, refer to this messge for the solution

Did you find this page helpful?