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
markchai@VM-16-12-ubuntu:~/prismarine-web-client-cn$ npm start
>[email protected] start
> node --max-old-space-size=8192 server.js 8089 dev
Server listening on port 8080
<i> webpack-dev-middleware waituntil bundle finished: /
assets by path textures/ 74 MiB 25989 assets
assets by path blocksStates/*.json 86.7 MiB 14 assets
assets by path extra-textures/ 6.81 MiB 10 assets assets by path *.js 29.4 MiB 3 assets
assets by path *.png 2.74 MiB
asset invsprite.png 2.71 MiB emitted from: assets/invsprite.png copied asset favicon.png 22.4 KiB emitted from: assets/favicon.png copied
assets by path *.map 208 KiB asset workbox-74015f45.js.map 204 KiB emitted
asset service-worker.js.map 3.42 KiB emitted
assets by path *.json 436 bytes
asset manifest.json 297 bytes emitted from: assets/manifest.json copied asset config.json 139 bytes emitted from: config.json copied
+ 8 assets
runtime modules 1010 bytes 5 modules
javascript modules 6.45 MiB
modules by path ./node_modules/ 6.34 MiB 700 modules
modules by path ./lib/ 92.8 KiB
modules by path ./lib/menus/ 73.5 KiB 18 modules
modules by path ./lib/*.js 19.3 KiB 5 modules
optional modules 120 bytes optional
buffer (ignored) 15 bytes optional built code generated
buffer (ignored) 15 bytes optional built code generated
+ 6 modules
+ 15 modules
json modules 27.2 MiB 518 modules
LOG from GenerateSW
<i> The service worker at service-worker.js will precache
<i> 2 URLs, totaling 2.01 kB.
WARNING in ./node_modules/asn1.js/lib/asn1/api.js 21:12-42
Module not found: Error: Can't resolve 'vm' in '/home/markchai/prismarine-web-client-cn/node_modules/asn1.js/lib/asn1'BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.This is no longer the case. Verify if you need this module and configure a polyfill for it.If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "vm": require.resolve("vm-browserify") }' - install 'vm-browserify'If you don't want to include a polyfill, you can use an empty module like this:
resolve.fallback: { "vm": false }
@ ./node_modules/asn1.js/lib/asn1.js 5:14-42
@ ./node_modules/parse-asn1/asn1.js 6:11-29
@ ./node_modules/parse-asn1/index.js 3:11-28
@ ./node_modules/browserify-sign/browser/verify.js 7:16-37
@ ./node_modules/browserify-sign/browser/index.js 8:13-32
@ ./node_modules/crypto-browserify/index.js 39:11-37
@ ./node_modules/uuid-1345/index.js 1:13-30
@ ./node_modules/mineflayer/lib/plugins/resource_pack.js 1:13-33
@ ./node_modules/mineflayer/lib/loader.js 32:17-51
@ ./node_modules/mineflayer/index.js 7:0-43
@ ./index.js 28:19-40
1 warning has detailed information that is not shown.
Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it.
webpack 5.91.0 compiled with 1 warning in 27054 ms
Node version: v20.10.0
The text was updated successfully, but these errors were encountered:
Node version: v20.10.0
The text was updated successfully, but these errors were encountered: