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
ERROR in ./node_modules/bootstrap-fileinput/js/fileinput.js
Module not found: Error: Can't resolve 'document' in '/opt/rjaros/temp/webpack-demo/node_modules/bootstrap-fileinput/js'
resolve 'document' in '/opt/rjaros/temp/webpack-demo/node_modules/bootstrap-fileinput/js'
Parsed request is a module
using description file: /opt/rjaros/temp/webpack-demo/node_modules/bootstrap-fileinput/package.json (relative path: ./js)
Field 'browser' doesn't contain a valid alias configuration
resolve as module
/opt/rjaros/temp/webpack-demo/node_modules/bootstrap-fileinput/js/node_modules doesn't exist or is not a directory
/opt/rjaros/temp/webpack-demo/node_modules/bootstrap-fileinput/node_modules doesn't exist or is not a directory
/opt/rjaros/temp/webpack-demo/node_modules/node_modules doesn't exist or is not a directory
looking for modules in /opt/rjaros/temp/webpack-demo/node_modules
single file module
using description file: /opt/rjaros/temp/webpack-demo/package.json (relative path: ./node_modules/document)
no extension
Field 'browser' doesn't contain a valid alias configuration
/opt/rjaros/temp/webpack-demo/node_modules/document doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
/opt/rjaros/temp/webpack-demo/node_modules/document.js doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
/opt/rjaros/temp/webpack-demo/node_modules/document.json doesn't exist
.wasm
Field 'browser' doesn't contain a valid alias configuration
/opt/rjaros/temp/webpack-demo/node_modules/document.wasm doesn't exist
/opt/rjaros/temp/webpack-demo/node_modules/document doesn't exist
/opt/rjaros/temp/node_modules doesn't exist or is not a directory
/opt/rjaros/node_modules doesn't exist or is not a directory
/opt/node_modules doesn't exist or is not a directory
/node_modules doesn't exist or is not a directory
@ ./src/index.js 2:0-37
ERROR in ./node_modules/bootstrap-fileinput/js/fileinput.js
Module not found: Error: Can't resolve 'window' in '/opt/rjaros/temp/webpack-demo/node_modules/bootstrap-fileinput/js'
resolve 'window' in '/opt/rjaros/temp/webpack-demo/node_modules/bootstrap-fileinput/js'
Parsed request is a module
using description file: /opt/rjaros/temp/webpack-demo/node_modules/bootstrap-fileinput/package.json (relative path: ./js)
Field 'browser' doesn't contain a valid alias configuration
resolve as module
/opt/rjaros/temp/webpack-demo/node_modules/bootstrap-fileinput/js/node_modules doesn't exist or is not a directory
/opt/rjaros/temp/webpack-demo/node_modules/bootstrap-fileinput/node_modules doesn't exist or is not a directory
/opt/rjaros/temp/webpack-demo/node_modules/node_modules doesn't exist or is not a directory
looking for modules in /opt/rjaros/temp/webpack-demo/node_modules
single file module
using description file: /opt/rjaros/temp/webpack-demo/package.json (relative path: ./node_modules/window)
no extension
Field 'browser' doesn't contain a valid alias configuration
/opt/rjaros/temp/webpack-demo/node_modules/window doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
/opt/rjaros/temp/webpack-demo/node_modules/window.js doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
/opt/rjaros/temp/webpack-demo/node_modules/window.json doesn't exist
.wasm
Field 'browser' doesn't contain a valid alias configuration
/opt/rjaros/temp/webpack-demo/node_modules/window.wasm doesn't exist
/opt/rjaros/temp/webpack-demo/node_modules/window doesn't exist
/opt/rjaros/temp/node_modules doesn't exist or is not a directory
/opt/rjaros/node_modules doesn't exist or is not a directory
/opt/node_modules doesn't exist or is not a directory
/node_modules doesn't exist or is not a directory
@ ./src/index.js 2:0-37
webpack 5.53.0 compiled with 2 errors and 1 warning in 4089 ms
I was expecting...
webpack 5.53.0 compiled with 4 warnings in 4129 ms
Environment
Browsers
Not applicable. The error affects the build process.
Prerequisites
master
branch of bootstrap-fileinput.Steps to reproduce the issue
npm install
npx webpack
Expected behavior and actual behavior
When I follow those steps, I see...
I was expecting...
Environment
Browsers
Not applicable. The error affects the build process.
Operating System
Libraries
Isolating the problem
The text was updated successfully, but these errors were encountered: