Topic: events.js:174 [0] throw er; // Unhandled 'error' event

chalicham free asked 2 years ago


Expected behavior Open browser and visit http://localhost:3000 Actual behavior npm start

mdbreact@4.27.0 start /home/ramchalicham/mdb/recatPro/re-pro yarn run webpack

yarn run v1.22.5 $ concurrently "webpack-dev-server --watch" [0] events.js:174 [0] throw er; // Unhandled 'error' event [0] ^ [0] [0] Error: listen EADDRINUSE: address already in use 172.16.12.102:8081 [0] at Server.setupListenHandle [as _listen2] (net.js:1280:14) [0] at listenInCluster (net.js:1328:12) [0] at doListen (net.js:1461:7) [0] at process._tickCallback (internal/process/next_tick.js:63:19) [0] at Function.Module.runMain (internal/modules/cjs/loader.js:834:11) [0] at startup (internal/bootstrap/node.js:283:19) [0] at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3) [0] Emitted 'error' event at: [0] at emitErrorNT (net.js:1307:8) [0] at process._tickCallback (internal/process/next_tick.js:63:19) [0] [... lines matching original stack trace ...] [0] at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3) [0] webpack-dev-server --watch exited with code 1 error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! mdbreact@4.27.0 start: yarn run webpack npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the mdbreact@4.27.0 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Resources (screenshots, code snippets etc.)

I followed this steps

Quick start

Clone following repo:

git clone https://github.com/mdbootstrap/react-bootstrap-with-material-design . note "." at the end. It will clone files directly into current folder.

Run npm i

Run npm start

Voilà! Open browser and visit http://localhost:3000

Now you can navigate to our documentation, pick any component and place within your project.


Piotr Glejzer staff commented 2 years ago

Thanks for the report, we will try to figure out why this is not working on ubuntu.


chalicham free commented 2 years ago

Hey I figured , there are references to SelectOptionV5 but it was referring SelectOptionv5 ,some case sensitive issues i changes letter from v to V



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue

  • User: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 4.27.0
  • Device: desktop
  • Browser: safari
  • OS: Ubuntu
  • Provided sample code: Yes
  • Provided link: Yes
Tags