#how do I fix this?

1 messages · Page 1 of 1 (latest)

exotic bramble
limber fieldBOT
#
Debug Result

There are 8 errors in this [code](#1167066484380536883 message):

@minecraft/server-admin.d.ts:26:34 - error TS2307: Cannot find module '@minecraft/common' or its corresponding type declarations.

26 import * as minecraftcommon from '@minecraft/common';
                                    ~~~~~~~~~~~~~~~~~~~

``````ansi
@minecraft/server-gametest.d.ts:25:34 - error TS2307: Cannot find module '@minecraft/common' or its corresponding type declarations.

25 import * as minecraftcommon from '@minecraft/common';
                                    ~~~~~~~~~~~~~~~~~~~

``````ansi
@minecraft/server-net.d.ts:25:34 - error TS2307: Cannot find module '@minecraft/common' or its corresponding type declarations.

25 import * as minecraftcommon from '@minecraft/common';
                                    ~~~~~~~~~~~~~~~~~~~

``````ansi
@minecraft/server-ui.d.ts:50:34 - error TS2307: Cannot find module '@minecraft/common' or its corresponding type declarations.

50 import * as minecraftcommon from '@minecraft/common';
                                    ~~~~~~~~~~~~~~~~~~~

``````ansi
@minecraft/server.d.ts:22:34 - error TS2307: Cannot find module '@minecraft/common' or its corresponding type declarations.

22 import * as minecraftcommon from '@minecraft/common';
                                    ~~~~~~~~~~~~~~~~~~~

``````ansi
main.js:4:7 - error TS2339: Property 'events' does not exist on type 'World'.

4 world.events.playerJoin.subscribe(({ playerName }) => (cps[playerName] = []))
        ~~~~~~

``````ansi
main.js:5:7 - error TS2339: Property 'events' does not exist on type 'World'.

5 world.events.playerLeave.subscribe(({ playerName }) => (delete cps[playerName]))
        ~~~~~~

``````ansi
main.js:7:7 - error TS2339: Property 'events' does not exist on type 'World'.

7 world.events.entityHit.subscribe((data) => {
        ~~~~~~

frosty pivot
#

@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.

limber fieldBOT
#

Please select an option you have problem with

inland glade
limber fieldBOT
#

Please select an option you have problem with

ornate musk
#

Mf a tosser

#

Stupid bot

frosty pivot