You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
11 | },
12 | nbtTagName: function (...args) {
13 | return ctx.shortString(...args);
14 | },
15 |
16 | i8: native.i8,
^
ReferenceError: Can't find variable: native
at compileProtoDefSync (/home/Projects/mf-test/node_modules/protodef/src/compiler.js:53:22)
at /home/Projects/mf-test/node_modules/prismarine-nbt/nbt.js:24:16
at /home/Projects/mf-test/node_modules/minecraft-protocol/src/datatypes/minecraft.js:3:6
at /home/Projects/mf-test/node_modules/minecraft-protocol/src/transforms/serializer.js:8:6
at /home/Projects/mf-test/node_modules/minecraft-protocol/src/client.js:9:6
at /home/Projects/mf-test/node_modules/minecraft-protocol/src/index.js:3:6
at /home/Projects/mf-test/node_modules/mineflayer/lib/loader.js:1:6
at /home/Projects/mf-test/node_modules/mineflayer/index.js:7:7
at /home/Projects/mf-test/src/index.ts:1:0
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Using Mineflayer with Bun throws this error:
current code:
any fix?
Beta Was this translation helpful? Give feedback.
All reactions