From 6d8b3ab7f4e0d772d0c05d48fd7b64d4c3cb340b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9=20=D0=9C=D0=B0?= =?UTF-8?q?=D1=82=D0=B2=D0=B5=D0=B5=D0=B2?= <159659209+mmTvv@users.noreply.github.com> Date: Tue, 10 Sep 2024 14:21:19 +0300 Subject: [PATCH] The vm has been removed from Webpack 5. The problem is due to the absence of the vm module, which used to be automatically included in Webpack 4, but was removed in Webpack 5. --- webpack.common.js | 1 + 1 file changed, 1 insertion(+) diff --git a/webpack.common.js b/webpack.common.js index 490b613c0..916124519 100644 --- a/webpack.common.js +++ b/webpack.common.js @@ -26,6 +26,7 @@ const config = { }, fallback: { jose: false, + "vm": require.resolve("vm-browserify"), zlib: require.resolve('browserify-zlib'), stream: require.resolve('stream-browserify'), buffer: require.resolve('buffer/'),