#how do I fix this?
1 messages · Page 1 of 1 (latest)
Debug Result
There are 8 errors in this [code](#1167066484380536883 message):
[36m@minecraft/server-admin.d.ts[0m:[33m26[0m:[33m34[0m - [31merror[0m[30m TS2307: [0mCannot find module '@minecraft/common' or its corresponding type declarations.
[7m26[0m import * as minecraftcommon from '@minecraft/common';
[7m [0m [31m ~~~~~~~~~~~~~~~~~~~[0m
``````ansi
[36m@minecraft/server-gametest.d.ts[0m:[33m25[0m:[33m34[0m - [31merror[0m[30m TS2307: [0mCannot find module '@minecraft/common' or its corresponding type declarations.
[7m25[0m import * as minecraftcommon from '@minecraft/common';
[7m [0m [31m ~~~~~~~~~~~~~~~~~~~[0m
``````ansi
[36m@minecraft/server-net.d.ts[0m:[33m25[0m:[33m34[0m - [31merror[0m[30m TS2307: [0mCannot find module '@minecraft/common' or its corresponding type declarations.
[7m25[0m import * as minecraftcommon from '@minecraft/common';
[7m [0m [31m ~~~~~~~~~~~~~~~~~~~[0m
``````ansi
[36m@minecraft/server-ui.d.ts[0m:[33m50[0m:[33m34[0m - [31merror[0m[30m TS2307: [0mCannot find module '@minecraft/common' or its corresponding type declarations.
[7m50[0m import * as minecraftcommon from '@minecraft/common';
[7m [0m [31m ~~~~~~~~~~~~~~~~~~~[0m
``````ansi
[36m@minecraft/server.d.ts[0m:[33m22[0m:[33m34[0m - [31merror[0m[30m TS2307: [0mCannot find module '@minecraft/common' or its corresponding type declarations.
[7m22[0m import * as minecraftcommon from '@minecraft/common';
[7m [0m [31m ~~~~~~~~~~~~~~~~~~~[0m
``````ansi
[36mmain.js[0m:[33m4[0m:[33m7[0m - [31merror[0m[30m TS2339: [0mProperty 'events' does not exist on type 'World'.
[7m4[0m world.events.playerJoin.subscribe(({ playerName }) => (cps[playerName] = []))
[7m [0m [31m ~~~~~~[0m
``````ansi
[36mmain.js[0m:[33m5[0m:[33m7[0m - [31merror[0m[30m TS2339: [0mProperty 'events' does not exist on type 'World'.
[7m5[0m world.events.playerLeave.subscribe(({ playerName }) => (delete cps[playerName]))
[7m [0m [31m ~~~~~~[0m
``````ansi
[36mmain.js[0m:[33m7[0m:[33m7[0m - [31merror[0m[30m TS2339: [0mProperty 'events' does not exist on type 'World'.
[7m7[0m world.events.entityHit.subscribe((data) => {
[7m [0m [31m ~~~~~~[0m
Debug (Stable)
@inland glade pinging you regarding the response from the bot. I'm figuring it is a bug or an update is needed? 🤷‍♂️
It's not related to the script. It's the bot which is why I pinged Jayly. He is the developer of the bot.
Please select an option you have problem with
Thanks for telling me. I haven’t had time to roll out a fix in time unfortunately
No problem.
Please select an option you have problem with
Skill issue.