RROR in ./resources/scripts/components/server/files/FileDropdownMenu.tsx 11:0-28 Module not found: Error: Can't resolve 'path' in '/var/www/pterodactyl/resources/scripts/components/server/files' 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: { "path": require.resolve("path-browserify") }' - install 'path-browserify' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "path": false } @ ./resources/scripts/components/server/files/FileObjectRow.tsx 11:0-74 62:41-57 @ ./resources/scripts/components/server/files/FileManagerContainer.tsx 9:0-68 96:354-367 @ ./resources/scripts/routers/routes.ts 9:0-82 52:15-35 @ ./resources/scripts/blueprint/extends/routers/ServerRouter.tsx @ ./resources/scripts/routers/ServerRouter.tsx 16:0-93 68:145-160 76:276-292 @ ./resources/scripts/components/App.tsx @ ./resources/scripts/index.tsx 3:0-35 16:50-53 ERROR in ./resources/scripts/components/server/files/FileEditContainer.tsx 32:0-31 Module not found: Error: Can't resolve 'path' in '/var/www/pterodactyl/resources/scripts/components/server/files' 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: { "path": require.resolve("path-browserify") }' - install 'path-browserify' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "path": false } @ ./resources/scripts/routers/routes.ts @ ./resources/scripts/blueprint/extends/routers/ServerRouter.tsx @ ./resources/scripts/routers/ServerRouter.tsx 16:0-93 68:145-160 76:276-292 @ ./resources/scripts/components/App.tsx @ ./resources/scripts/index.tsx 3:0-35 16:50-53 ERROR in ./resources/scripts/components/server/files/FileNameModal.tsx 10:0-28 Module not found: Error: Can't resolve 'path' in '/var/www/pterodactyl/resources/scripts/components/server/files' 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: { "path": require.resolve("path-browserify") }' - install 'path-browserify' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "path": false } @ ./resources/scripts/components/server/files/FileEditContainer.tsx 20:0-68 104:664-677 @ ./resources/scripts/routers/routes.ts @ ./resources/scripts/blueprint/extends/routers/ServerRouter.tsx @ ./resources/scripts/routers/ServerRouter.tsx 16:0-93 68:145-160 76:276-292 @ ./resources/scripts/components/App.tsx @ ./resources/scripts/index.tsx 3:0-35 16:50-53 ERROR in ./resources/scripts/components/server/files/FileObjectRow.tsx 17:0-28 Module not found: Error: Can't resolve 'path' in '/var/www/pterodactyl/resources/scripts/components/server/files' 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: { "path": require.resolve("path-browserify") }' - install 'path-browserify' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "path": false } @ ./resources/scripts/components/server/files/FileManagerContainer.tsx 9:0-68 96:354-367 @ ./resources/scripts/routers/routes.ts 9:0-82 52:15-35 @ ./resources/scripts/blueprint/extends/routers/ServerRouter.tsx @ ./resources/scripts/routers/ServerRouter.tsx 16:0-93 68:145-160 76:276-292 @ ./resources/scripts/components/App.tsx @ ./resources/scripts/index.tsx 3:0-35 16:50-53 ERROR in ./resources/scripts/components/server/files/NewDirectoryButton.tsx 9:0-28 Module not found: Error: Can't resolve 'path' in '/var/www/pterodactyl/resources/scripts/components/server/files' 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: { "path": require.resolve("path-browserify") }' - install 'path-browserify' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "path": false } @ ./resources/scripts/components/server/files/FileManagerContainer.tsx 11:0-78 86:150-168 @ ./resources/scripts/routers/routes.ts 9:0-82 52:15-35 @ ./resources/scripts/blueprint/extends/routers/ServerRouter.tsx @ ./resources/scripts/routers/ServerRouter.tsx 16:0-93 68:145-160 76:276-292 @ ./resources/scripts/components/App.tsx @ ./resources/scripts/index.tsx 3:0-35 16:50-53 ERROR in ./resources/scripts/components/server/files/RenameFileModal.tsx 20:0-28 Module not found: Error: Can't resolve 'path' in '/var/www/pterodactyl/resources/scripts/components/server/files' 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: { "path": require.resolve("path-browserify") }' - install 'path-browserify' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "path": false } @ ./resources/scripts/components/server/files/MassActionsBar.tsx 12:0-72 79:180-195 @ ./resources/scripts/components/server/files/FileManagerContainer.tsx 19:0-70 99:40-54 @ ./resources/scripts/routers/routes.ts 9:0-82 52:15-35 @ ./resources/scripts/blueprint/extends/routers/ServerRouter.tsx @ ./resources/scripts/routers/ServerRouter.tsx 16:0-93 68:145-160 76:276-292 @ ./resources/scripts/components/App.tsx @ ./resources/scripts/index.tsx 3:0-35 16:50-53 6 errors have detailed information that is not shown. Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it. webpack 5.101.3 compiled with 6 errors in 10004 ms