[text] webpack error output

Viewer

copydownloadembedprintName: webpack error output
  1.  
  2. > webpack --progress
  3.  
  4. asset main.js 458 KiB [emitted] (name: main)
  5. runtime modules 1.25 KiB 6 modules
  6. modules by path ./node_modules/ 391 KiB 75 modules
  7. modules by path ./src/*.js 857 bytes
  8.   ./src/main.js 495 bytes [built] [code generated]
  9.   ./src/config.js 362 bytes [built] [code generated]
  10. util (ignored) 15 bytes [built] [code generated]
  11. util (ignored) 15 bytes [built] [code generated]
  12.  
  13. ERROR in ./src/main.js 10:0-24
  14. Module not found: Error: Can't resolve 'fs' in '/var/www/html/private/bswebkit/src'
  15. resolve 'fs' in '/var/www/html/private/bswebkit/src'
  16.   Parsed request is a module
  17.   using description file: /var/www/html/private/bswebkit/package.json (relative path: ./src)
  18.     Field 'browser' doesn't contain a valid alias configuration
  19.     resolve as module
  20.       /var/www/html/private/bswebkit/src/node_modules doesn't exist or is not a directory
  21.       looking for modules in /var/www/html/private/bswebkit/node_modules
  22.         single file module
  23.           using description file: /var/www/html/private/bswebkit/package.json (relative path: ./node_modules/fs)
  24.             no extension
  25.               Field 'browser' doesn't contain a valid alias configuration
  26.               /var/www/html/private/bswebkit/node_modules/fs doesn't exist
  27.             .js
  28.               Field 'browser' doesn't contain a valid alias configuration
  29.               /var/www/html/private/bswebkit/node_modules/fs.js doesn't exist
  30.             .json
  31.               Field 'browser' doesn't contain a valid alias configuration
  32.               /var/www/html/private/bswebkit/node_modules/fs.json doesn't exist
  33.             .wasm
  34.               Field 'browser' doesn't contain a valid alias configuration
  35.               /var/www/html/private/bswebkit/node_modules/fs.wasm doesn't exist
  36.         /var/www/html/private/bswebkit/node_modules/fs doesn't exist
  37.       /var/www/html/private/node_modules doesn't exist or is not a directory
  38.       /var/www/html/node_modules doesn't exist or is not a directory
  39.       /var/www/node_modules doesn't exist or is not a directory
  40.       /var/node_modules doesn't exist or is not a directory
  41.       /node_modules doesn't exist or is not a directory
  42.  
  43. webpack 5.76.3 compiled with 1 error in 299 ms
  44.  

Editor

You can edit this paste and save as new:


File Description
  • webpack error output
  • Paste Code
  • 24 Mar-2023
  • 2.22 Kb
You can Share it: