I have installedall the neccessary modules and tried to start the proxy with the command npm run
ERROR CODE STARTS HERE:
AssertionError [ERR_ASSERTION]: plugin needs to be a function
at EventEmitter.loadPlugin (/root/node_modules/mineflayer/lib/plugin_loader.js:16:12)
at Object.initialize (/root/2based2wait-main/util/mineflayer.js:38:9)
at createClient (/root/2based2wait-main/proxy.js:118:13)
at start (/root/2based2wait-main/proxy.js:92:3)
at Object. (/root/2based2wait-main/proxy.js:37:1)
at Module._compile (node:internal/modules/cjs/loader:1120:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1174:10)
at Module.load (node:internal/modules/cjs/loader:998:32)
at Module._load (node:internal/modules/cjs/loader:839:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '=='
}
I have installedall the neccessary modules and tried to start the proxy with the command npm run
ERROR CODE STARTS HERE:
AssertionError [ERR_ASSERTION]: plugin needs to be a function at EventEmitter.loadPlugin (/root/node_modules/mineflayer/lib/plugin_loader.js:16:12) at Object.initialize (/root/2based2wait-main/util/mineflayer.js:38:9) at createClient (/root/2based2wait-main/proxy.js:118:13) at start (/root/2based2wait-main/proxy.js:92:3) at Object. (/root/2based2wait-main/proxy.js:37:1)
at Module._compile (node:internal/modules/cjs/loader:1120:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1174:10)
at Module.load (node:internal/modules/cjs/loader:998:32)
at Module._load (node:internal/modules/cjs/loader:839:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '=='
}
ERROR CODE ENDS HERE
solutions?