## 18 field 'browser' doesn't contain a valid alias configuration (webpack webpack: ^5.113.0 → 5.113.0) $ npx webpack --mode development --entry ./src/main.js ERROR in ./src/main.js 1:0-49 Module not found: Error: Can't resolve 'components/DoISuportIt' in '/tmp/tfs/n18/src' 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. resolve 'components/DoISuportIt' in '/tmp/tfs/n18/src' # answer: change the import to './components/DoISuportIt' $ npx webpack --mode development --entry ./src/main.js webpack 5.113.0 compiled successfully in 97 ms