Last active
May 10, 2022 14:56
-
-
Save cihad/bd44c1d62d930956f0dc7a9afbdaaa2f to your computer and use it in GitHub Desktop.
Revisions
-
cihad revised this gist
May 10, 2022 . 1 changed file with 25 additions and 219 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,80 +1,33 @@ asset app.js 41.1 KiB [compared for emit] (name: app) asset index.html 1000 bytes [compared for emit] runtime modules 26.5 KiB 9 modules ./src/app/index.js 346 bytes [built] [code generated] webpack 5.72.0 compiled successfully in 324 ms assets by status 720 KiB [compared for emit] assets by chunk 673 KiB (id hint: vendors) asset vendors-node_modules_vue_compiler-dom_dist_compiler-dom_esm-bundler_js.js 279 KiB [compared for emit] (id hint: vendors) asset vendors-node_modules_postcss-modules_build_index_js.js 260 KiB [compared for emit] (id hint: vendors) asset vendors-node_modules_postcss_lib_postcss_js.js 118 KiB [compared for emit] (id hint: vendors) asset vendors-node_modules_postcss-value-parser_lib_index_js.js 16.1 KiB [compared for emit] (id hint: vendors) asset frame.js 39.7 KiB [emitted] [compared for emit] (name: frame) asset node_modules_postcss_lib_postcss_mjs.js 5.38 KiB [compared for emit] asset node_modules_postcss-modules_build_css-loader-core_sync_recursive.js 2.22 KiB [compared for emit] asset frame.html 360 bytes [compared for emit] asset worker.js 2.49 MiB [emitted] (name: worker) asset vendors-node_modules_postcss-import_index_js.js 27 KiB [emitted] (id hint: vendors) runtime modules 56.3 KiB 24 modules modules by path ./node_modules/ 2.74 MiB javascript modules 2.71 MiB cacheable modules 2.71 MiB 411 modules + 2 modules json modules 22.4 KiB modules by path ./node_modules/browserify-sign/ 2.23 KiB 2 modules + 6 modules modules by path ./src/frame/*.js 3.79 KiB ./src/frame/frame.js 251 bytes [built] [code generated] ./src/frame/vite-worker.js 3.54 KiB [built] [code generated] + 9 modules WARNING in ./node_modules/postcss-import/lib/process-content.js 25:18-36 Module not found: Error: Can't resolve 'sugarss' in 'C:\Users\cihad\Desktop\browser-vite-demo\node_modules\postcss-import\lib' @@ -108,159 +61,13 @@ WARNING in ./node_modules/vite/dist/browser/index.js 2844:41-48 Critical dependency: require function is used in a way in which dependencies cannot be statically extracted @ ./src/frame/vite-worker.js 1:0-14:13 17:22-35 35:31-52 36:25-36 48:2-22 50:10-26 52:2-14 66:10-23 79:29-53 122:33-64 140:28-39 7 warnings have detailed information that is not shown. Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it. ERROR in ./node_modules/vite/dist/browser/index.js 5:0-40 Module not found: Error: Can't resolve 'module' in 'C:\Users\cihad\Desktop\browser-vite-demo\node_modules\vite\dist\browser' @ ./src/frame/vite-worker.js 1:0-14:13 17:22-35 35:31-52 36:25-36 48:2-22 50:10-26 52:2-14 66:10-23 79:29-53 122:33-64 140:28-39 ERROR in ./node_modules/vite/dist/browser/index.js 1518:26-40 Module not found: Error: Can't resolve 'sass' in 'C:\Users\cihad\Desktop\browser-vite-demo\node_modules\vite\dist\browser' @ ./src/frame/vite-worker.js 1:0-14:13 17:22-35 35:31-52 36:25-36 48:2-22 50:10-26 52:2-14 66:10-23 79:29-53 122:33-64 140:28-39 @@ -270,10 +77,9 @@ Module not found: Error: Can't resolve 'module' in 'C:\Users\cihad\Desktop\brows @ ./node_modules/vite/dist/browser/index.js 25:0-64 2293:29-36 2304:25-43 @ ./src/frame/vite-worker.js 1:0-14:13 17:22-35 35:31-52 36:25-36 48:2-22 50:10-26 52:2-14 66:10-23 79:29-53 122:33-64 140:28-39 3 errors have detailed information that is not shown. Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it. webpack 5.72.0 compiled with 3 errors and 7 warnings in 3331 ms error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. -
cihad created this gist
May 10, 2022 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,279 @@ asset app.js 41.1 KiB [emitted] (name: app) asset index.html 1000 bytes [emitted] runtime modules 26.5 KiB 9 modules ./src/app/index.js 346 bytes [built] [code generated] webpack 5.72.0 compiled successfully in 288 ms assets by chunk 700 KiB (id hint: vendors) asset vendors-node_modules_vue_compiler-dom_dist_compiler-dom_esm-bundler_js.js 279 KiB [emitted] (id hint: vendors) asset vendors-node_modules_postcss-modules_build_index_js.js 260 KiB [emitted] (id hint: vendors) asset vendors-node_modules_postcss_lib_postcss_js.js 118 KiB [emitted] (id hint: vendors) asset vendors-node_modules_postcss-import_index_js.js 27 KiB [emitted] (id hint: vendors) asset vendors-node_modules_postcss-value-parser_lib_index_js.js 16.1 KiB [emitted] (id hint: vendors) asset worker.js 2.29 MiB [emitted] (name: worker) asset frame.js 39.7 KiB [emitted] (name: frame) asset node_modules_postcss_lib_postcss_mjs.js 5.18 KiB [emitted] asset node_modules_postcss-modules_build_css-loader-core_sync_recursive.js 2.02 KiB [emitted] asset frame.html 360 bytes [emitted] runtime modules 56.3 KiB 24 modules modules by path ./node_modules/ 2.57 MiB javascript modules 2.55 MiB 381 modules json modules 22.4 KiB modules by path ./node_modules/browserify-sign/ 2.23 KiB 2 modules + 6 modules modules by path ./src/frame/*.js 3.79 KiB ./src/frame/frame.js 251 bytes [built] [code generated] ./src/frame/vite-worker.js 3.54 KiB [built] [code generated] + 7 modules WARNING in ./node_modules/esbuild/lib/main.js 1641:8-28 Critical dependency: the request of a dependency is an expression @ ./node_modules/vite/dist/browser/index.js 15:0-59 1454:37-46 1460:27-41 2210:29-38 3378:10-15 3651:24-33 @ ./src/frame/vite-worker.js 1:0-14:13 17:22-35 35:31-52 36:25-36 48:2-22 50:10-26 52:2-14 66:10-23 79:29-53 122:33-64 140:28-39 WARNING in ./node_modules/esbuild/lib/main.js 1654:4-21 Module not found: Error: Can't resolve 'pnpapi' in 'C:\Users\cihad\Desktop\browser-vite-demo\node_modules\esbuild\lib' @ ./node_modules/vite/dist/browser/index.js 15:0-59 1454:37-46 1460:27-41 2210:29-38 3378:10-15 3651:24-33 @ ./src/frame/vite-worker.js 1:0-14:13 17:22-35 35:31-52 36:25-36 48:2-22 50:10-26 52:2-14 66:10-23 79:29-53 122:33-64 140:28-39 WARNING in ./node_modules/esbuild/lib/main.js 1680:21-46 Module not found: Error: Can't resolve 'worker_threads' in 'C:\Users\cihad\Desktop\browser-vite-demo\node_modules\esbuild\lib' @ ./node_modules/vite/dist/browser/index.js 15:0-59 1454:37-46 1460:27-41 2210:29-38 3378:10-15 3651:24-33 @ ./src/frame/vite-worker.js 1:0-14:13 17:22-35 35:31-52 36:25-36 48:2-22 50:10-26 52:2-14 66:10-23 79:29-53 122:33-64 140:28-39 WARNING in ./node_modules/memfs/lib/process.js 20:15-33 Module not found: Error: Can't resolve 'process' in 'C:\Users\cihad\Desktop\browser-vite-demo\node_modules\memfs\lib' Did you mean './process'? Requests that should resolve in the current directory need to start with './'. Requests that start with a name are treated as module requests and resolve within module directories (node_modules). If changing the source code is not an option there is also a resolve options called 'preferRelative' which tries to resolve these kind of requests in the current directory too. 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: { "process": require.resolve("process/browser") }' - install 'process' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "process": false } @ ./node_modules/memfs/lib/volume.js 34:16-36 @ ./node_modules/memfs/lib/index.js 17:15-34 @ ./node_modules/vite/dist/browser/index.js 2:0-34 285:12-25 285:39-50 286:41-56 373:8-21 373:32-49 389:8-21 613:62-79 678:8-21 790:26-43 1525:83-98 1584:20-35 1665:35-50 2360:18-40 2366:28-43 2451:13-24 2520:8-21 2642:40-55 2773:19-34 2881:31-46 2891:28-43 3106:35-50 3360:4-17 3470:26-41 3630:31-46 4185:27-44 4195:19-36 4375:29-46 5008:25-38 5795:13-24 @ ./src/frame/vite-worker.js 1:0-14:13 17:22-35 35:31-52 36:25-36 48:2-22 50:10-26 52:2-14 66:10-23 79:29-53 122:33-64 140:28-39 WARNING in ./node_modules/memfs/lib/volume.js 291:34-52 Module not found: Error: Can't resolve 'url' in 'C:\Users\cihad\Desktop\browser-vite-demo\node_modules\memfs\lib' 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: { "url": require.resolve("url/") }' - install 'url' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "url": false } @ ./node_modules/memfs/lib/index.js 17:15-34 @ ./node_modules/vite/dist/browser/index.js 2:0-34 285:12-25 285:39-50 286:41-56 373:8-21 373:32-49 389:8-21 613:62-79 678:8-21 790:26-43 1525:83-98 1584:20-35 1665:35-50 2360:18-40 2366:28-43 2451:13-24 2520:8-21 2642:40-55 2773:19-34 2881:31-46 2891:28-43 3106:35-50 3360:4-17 3470:26-41 3630:31-46 4185:27-44 4195:19-36 4375:29-46 5008:25-38 5795:13-24 @ ./src/frame/vite-worker.js 1:0-14:13 17:22-35 35:31-52 36:25-36 48:2-22 50:10-26 52:2-14 66:10-23 79:29-53 122:33-64 140:28-39 WARNING in ./node_modules/postcss-import/lib/process-content.js 25:18-36 Module not found: Error: Can't resolve 'sugarss' in 'C:\Users\cihad\Desktop\browser-vite-demo\node_modules\postcss-import\lib' @ ./node_modules/postcss-import/index.js 10:23-55 @ ./node_modules/vite/dist/browser/index.js 1263:38-62 @ ./src/frame/vite-worker.js 1:0-14:13 17:22-35 35:31-52 36:25-36 48:2-22 50:10-26 52:2-14 66:10-23 79:29-53 122:33-64 140:28-39 WARNING in ./node_modules/postcss-modules/build/css-loader-core/loader.js 82:29-53 Critical dependency: the request of a dependency is an expression @ ./node_modules/postcss-modules/build/index.js 23:14-49 @ ./node_modules/vite/dist/browser/index.js 1277:38-63 @ ./src/frame/vite-worker.js 1:0-14:13 17:22-35 35:31-52 36:25-36 48:2-22 50:10-26 52:2-14 66:10-23 79:29-53 122:33-64 140:28-39 WARNING in ./node_modules/vite/dist/browser/index.js 469:6-13 Critical dependency: require function is used in a way in which dependencies cannot be statically extracted @ ./src/frame/vite-worker.js 1:0-14:13 17:22-35 35:31-52 36:25-36 48:2-22 50:10-26 52:2-14 66:10-23 79:29-53 122:33-64 140:28-39 WARNING in ./node_modules/vite/dist/browser/index.js 1497:43-50 Critical dependency: require function is used in a way in which dependencies cannot be statically extracted @ ./src/frame/vite-worker.js 1:0-14:13 17:22-35 35:31-52 36:25-36 48:2-22 50:10-26 52:2-14 66:10-23 79:29-53 122:33-64 140:28-39 WARNING in ./node_modules/vite/dist/browser/index.js 1498:25-32 Critical dependency: require function is used in a way in which dependencies cannot be statically extracted @ ./src/frame/vite-worker.js 1:0-14:13 17:22-35 35:31-52 36:25-36 48:2-22 50:10-26 52:2-14 66:10-23 79:29-53 122:33-64 140:28-39 WARNING in ./node_modules/vite/dist/browser/index.js 1499:44-61 Critical dependency: the request of a dependency is an expression @ ./src/frame/vite-worker.js 1:0-14:13 17:22-35 35:31-52 36:25-36 48:2-22 50:10-26 52:2-14 66:10-23 79:29-53 122:33-64 140:28-39 WARNING in ./node_modules/vite/dist/browser/index.js 2844:41-48 Critical dependency: require function is used in a way in which dependencies cannot be statically extracted @ ./src/frame/vite-worker.js 1:0-14:13 17:22-35 35:31-52 36:25-36 48:2-22 50:10-26 52:2-14 66:10-23 79:29-53 122:33-64 140:28-39 12 warnings have detailed information that is not shown. Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it. ERROR in ./node_modules/esbuild/lib/main.d.ts 1:7 Module parse failed: Unexpected token (1:7) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders > export type Platform = 'browser' | 'node' | 'neutral'; | export type Format = 'iife' | 'cjs' | 'esm'; | export type Loader = 'js' | 'jsx' | 'ts' | 'tsx' | 'css' | 'json' | 'text' | 'base64' | 'file' | 'dataurl' | 'binary' | 'default'; @ ./node_modules/esbuild/lib/ sync ^.*\/.*$ ./main.d.ts @ ./node_modules/esbuild/lib/main.js 1636:14-50 @ ./node_modules/vite/dist/browser/index.js 15:0-59 1454:37-46 1460:27-41 2210:29-38 3378:10-15 3651:24-33 @ ./src/frame/vite-worker.js 1:0-14:13 17:22-35 35:31-52 36:25-36 48:2-22 50:10-26 52:2-14 66:10-23 79:29-53 122:33-64 140:28-39 ERROR in ./node_modules/esbuild/lib/main.js 1671:20-44 Module not found: Error: Can't resolve 'child_process' in 'C:\Users\cihad\Desktop\browser-vite-demo\node_modules\esbuild\lib' @ ./node_modules/vite/dist/browser/index.js 15:0-59 1454:37-46 1460:27-41 2210:29-38 3378:10-15 3651:24-33 @ ./src/frame/vite-worker.js 1:0-14:13 17:22-35 35:31-52 36:25-36 48:2-22 50:10-26 52:2-14 66:10-23 79:29-53 122:33-64 140:28-39 ERROR in ./node_modules/fill-range/index.js 10:13-28 Module not found: Error: Can't resolve 'util' in 'C:\Users\cihad\Desktop\browser-vite-demo\node_modules\fill-range' 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: { "util": require.resolve("util/") }' - install 'util' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "util": false } @ ./node_modules/braces/lib/expand.js 3:13-34 @ ./node_modules/braces/index.js 5:15-38 @ ./node_modules/micromatch/index.js 4:15-32 @ ./node_modules/vite/dist/browser/index.js 23:0-37 4324:49-56 @ ./src/frame/vite-worker.js 1:0-14:13 17:22-35 35:31-52 36:25-36 48:2-22 50:10-26 52:2-14 66:10-23 79:29-53 122:33-64 140:28-39 ERROR in ./node_modules/memfs/lib/internal/errors.js 24:13-30 Module not found: Error: Can't resolve 'assert' in 'C:\Users\cihad\Desktop\browser-vite-demo\node_modules\memfs\lib\internal' 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: { "assert": require.resolve("assert/") }' - install 'assert' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "assert": false } @ ./node_modules/memfs/lib/volume.js 40:13-41 @ ./node_modules/memfs/lib/index.js 17:15-34 @ ./node_modules/vite/dist/browser/index.js 2:0-34 285:12-25 285:39-50 286:41-56 373:8-21 373:32-49 389:8-21 613:62-79 678:8-21 790:26-43 1525:83-98 1584:20-35 1665:35-50 2360:18-40 2366:28-43 2451:13-24 2520:8-21 2642:40-55 2773:19-34 2881:31-46 2891:28-43 3106:35-50 3360:4-17 3470:26-41 3630:31-46 4185:27-44 4195:19-36 4375:29-46 5008:25-38 5795:13-24 @ ./src/frame/vite-worker.js 1:0-14:13 17:22-35 35:31-52 36:25-36 48:2-22 50:10-26 52:2-14 66:10-23 79:29-53 122:33-64 140:28-39 ERROR in ./node_modules/memfs/lib/internal/errors.js 25:11-26 Module not found: Error: Can't resolve 'util' in 'C:\Users\cihad\Desktop\browser-vite-demo\node_modules\memfs\lib\internal' 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: { "util": require.resolve("util/") }' - install 'util' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "util": false } @ ./node_modules/memfs/lib/volume.js 40:13-41 @ ./node_modules/memfs/lib/index.js 17:15-34 @ ./node_modules/vite/dist/browser/index.js 2:0-34 285:12-25 285:39-50 286:41-56 373:8-21 373:32-49 389:8-21 613:62-79 678:8-21 790:26-43 1525:83-98 1584:20-35 1665:35-50 2360:18-40 2366:28-43 2451:13-24 2520:8-21 2642:40-55 2773:19-34 2881:31-46 2891:28-43 3106:35-50 3360:4-17 3470:26-41 3630:31-46 4185:27-44 4195:19-36 4375:29-46 5008:25-38 5795:13-24 @ ./src/frame/vite-worker.js 1:0-14:13 17:22-35 35:31-52 36:25-36 48:2-22 50:10-26 52:2-14 66:10-23 79:29-53 122:33-64 140:28-39 ERROR in ./node_modules/memfs/lib/volume.js 41:11-26 Module not found: Error: Can't resolve 'util' in 'C:\Users\cihad\Desktop\browser-vite-demo\node_modules\memfs\lib' 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: { "util": require.resolve("util/") }' - install 'util' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "util": false } @ ./node_modules/memfs/lib/index.js 17:15-34 @ ./node_modules/vite/dist/browser/index.js 2:0-34 285:12-25 285:39-50 286:41-56 373:8-21 373:32-49 389:8-21 613:62-79 678:8-21 790:26-43 1525:83-98 1584:20-35 1665:35-50 2360:18-40 2366:28-43 2451:13-24 2520:8-21 2642:40-55 2773:19-34 2881:31-46 2891:28-43 3106:35-50 3360:4-17 3470:26-41 3630:31-46 4185:27-44 4195:19-36 4375:29-46 5008:25-38 5795:13-24 @ ./src/frame/vite-worker.js 1:0-14:13 17:22-35 35:31-52 36:25-36 48:2-22 50:10-26 52:2-14 66:10-23 79:29-53 122:33-64 140:28-39 ERROR in ./node_modules/micromatch/index.js 3:13-28 Module not found: Error: Can't resolve 'util' in 'C:\Users\cihad\Desktop\browser-vite-demo\node_modules\micromatch' 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: { "util": require.resolve("util/") }' - install 'util' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "util": false } @ ./node_modules/vite/dist/browser/index.js 23:0-37 4324:49-56 @ ./src/frame/vite-worker.js 1:0-14:13 17:22-35 35:31-52 36:25-36 48:2-22 50:10-26 52:2-14 66:10-23 79:29-53 122:33-64 140:28-39 ERROR in ./node_modules/postcss/lib/input.js 4:39-53 Module not found: Error: Can't resolve 'url' in 'C:\Users\cihad\Desktop\browser-vite-demo\node_modules\postcss\lib' 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: { "url": require.resolve("url/") }' - install 'url' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "url": false } @ ./node_modules/postcss/lib/postcss.js 15:12-30 @ ./node_modules/postcss/lib/postcss.mjs 1:0-34 3:15-22 5:25-42 6:24-40 7:22-36 8:21-34 9:20-32 11:24-40 12:23-38 13:22-36 14:20-32 15:20-32 16:20-32 18:30-52 19:27-46 20:25-42 21:25-42 22:24-40 23:23-38 24:23-38 25:22-36 26:22-36 27:21-34 28:20-32 29:20-32 30:20-32 @ ./node_modules/vite/dist/browser/index.js 1469:26-43 1303:39-56 @ ./src/frame/vite-worker.js 1:0-14:13 17:22-35 35:31-52 36:25-36 48:2-22 50:10-26 52:2-14 66:10-23 79:29-53 122:33-64 140:28-39 ERROR in ./node_modules/postcss/lib/map-generator.js 5:24-38 Module not found: Error: Can't resolve 'url' in 'C:\Users\cihad\Desktop\browser-vite-demo\node_modules\postcss\lib' 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: { "url": require.resolve("url/") }' - install 'url' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "url": false } @ ./node_modules/postcss/lib/lazy-result.js 4:19-45 @ ./node_modules/postcss/lib/postcss.js 5:17-41 @ ./node_modules/postcss/lib/postcss.mjs 1:0-34 3:15-22 5:25-42 6:24-40 7:22-36 8:21-34 9:20-32 11:24-40 12:23-38 13:22-36 14:20-32 15:20-32 16:20-32 18:30-52 19:27-46 20:25-42 21:25-42 22:24-40 23:23-38 24:23-38 25:22-36 26:22-36 27:21-34 28:20-32 29:20-32 30:20-32 @ ./node_modules/vite/dist/browser/index.js 1469:26-43 1303:39-56 @ ./src/frame/vite-worker.js 1:0-14:13 17:22-35 35:31-52 36:25-36 48:2-22 50:10-26 52:2-14 66:10-23 79:29-53 122:33-64 140:28-39 ERROR in ./node_modules/vite/dist/browser/index.js 3:0-48 Module not found: Error: Can't resolve 'url' in 'C:\Users\cihad\Desktop\browser-vite-demo\node_modules\vite\dist\browser' 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: { "url": require.resolve("url/") }' - install 'url' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "url": false } @ ./src/frame/vite-worker.js 1:0-14:13 17:22-35 35:31-52 36:25-36 48:2-22 50:10-26 52:2-14 66:10-23 79:29-53 122:33-64 140:28-39 ERROR in ./node_modules/vite/dist/browser/index.js 5:0-40 Module not found: Error: Can't resolve 'module' in 'C:\Users\cihad\Desktop\browser-vite-demo\node_modules\vite\dist\browser' @ ./src/frame/vite-worker.js 1:0-14:13 17:22-35 35:31-52 36:25-36 48:2-22 50:10-26 52:2-14 66:10-23 79:29-53 122:33-64 140:28-39 ERROR in ./node_modules/vite/dist/browser/index.js 18:0-41 Module not found: Error: Can't resolve 'perf_hooks' in 'C:\Users\cihad\Desktop\browser-vite-demo\node_modules\vite\dist\browser' @ ./src/frame/vite-worker.js 1:0-14:13 17:22-35 35:31-52 36:25-36 48:2-22 50:10-26 52:2-14 66:10-23 79:29-53 122:33-64 140:28-39 ERROR in ./node_modules/vite/dist/browser/index.js 1518:26-40 Module not found: Error: Can't resolve 'sass' in 'C:\Users\cihad\Desktop\browser-vite-demo\node_modules\vite\dist\browser' @ ./src/frame/vite-worker.js 1:0-14:13 17:22-35 35:31-52 36:25-36 48:2-22 50:10-26 52:2-14 66:10-23 79:29-53 122:33-64 140:28-39 ERROR in ./node_modules/tsconfck/dist/index.js 166:0-39 Module not found: Error: Can't resolve 'module' in 'C:\Users\cihad\Desktop\browser-vite-demo\node_modules\tsconfck\dist' @ ./node_modules/vite/dist/browser/index.js 25:0-64 2293:29-36 2304:25-43 @ ./src/frame/vite-worker.js 1:0-14:13 17:22-35 35:31-52 36:25-36 48:2-22 50:10-26 52:2-14 66:10-23 79:29-53 122:33-64 140:28-39 13 errors have detailed information that is not shown. Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it. webpack 5.72.0 compiled with 14 errors and 12 warnings in 4664 ms error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.