Facing issues while installing MDBreact on Linux system.


Topic: Facing issues while installing MDBreact on Linux system.

Prasad Shenoy asked 5 years ago

Hi,

while installing the packages cloned from the MDBReact GitHub repo, we faced this error. npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

also, the code to start npm start was specific to MAC as it had yarn to start the server. to circumvent this I start the npm server using npm run webpack, which resulted in the following error:

mdbreact@4.20.0 webpack /home/username/react-bootstrap-with-material-design concurrently "webpack-dev-server --watch" [0] ℹ 「wds」: Project is running at http://localhost:8080/ [0] ℹ 「wds」: webpack output is served from / [0] ℹ 「wds」: 404s will fallback to /index.html [0] ℹ 「wdm」: Hash: f191ac0e119e9366a5e7 [0] Version: webpack 4.31.0 [0] Time: 9691ms [0] Built at: 09/19/2019 6:58:23 AM [0] Asset Size Chunks Chunk Names [0] 14c590d124662eb50efa4c00f027b79c.eot 127 KiB [emitted] [0] 2751ee43015f9884c3642f103b7f70c9.woff2 48.1 KiB [emitted] [0] 285a9d2a28886ad64c4e45cbd733cf7c.ttf 33.3 KiB [emitted] [0] 30799efa5bf74129468ad4e257551dc3.eot 20.8 KiB [emitted] [0] 39b2c3031be6b4ea96e2e3e95d307814.woff2 48.8 KiB [emitted] [0] 3b813c2ae0d04909a33a18d792912ee7.woff 60.9 KiB [emitted] [0] 3ded831d708bf90b2da86756551b5c1c.woff 95.7 KiB [emitted] [0] 3e1b2a654a784ceb385157140b4ccd71.woff2 72.8 KiB [emitted] [0] 42e1fbd2cf655a0b44a2dfae9ca2f8c1.eot 188 KiB [emitted] [0] 46e48ce0628835f68a7369d0254e4283.ttf 124 KiB [emitted] [0] 4d9f3f9e5195e7b074bb63ba4ce42208.eot 20.9 KiB [emitted] [0] 5623624dd1b017c66c29d1ac69cdcfa3.woff 16.4 KiB [emitted] [0] 574fd0b50367f886d359e8264938fc37.woff2 49 KiB [emitted] [0] 5e8aa9ea0ebcd2218178f554cdd8e6b0.ttf 126 KiB [emitted] [0] 69f8a0617ac472f78e45841323a3df9e.woff2 48.2 KiB [emitted] [0] 7500519de3d82e33d1587f8042e2afcb.woff 60.2 KiB [emitted] [0] 894a2ede85a483bf9bedefd4db45cdb9.ttf 125 KiB [emitted] [0] 896e20e26ad07dc63c9526ed814117e9.ttf 187 KiB [emitted] [0] 94998475f6aea65f558494802416c1cf.ttf 125 KiB [emitted] [0] 954bbdeb86483e4ffea00c4591530ece.woff2 47.4 KiB [emitted] [0] a990f611f2305dc12965f186c2ef2690.eot 20.4 KiB [emitted] [0] aa66d0e0e38c75666e98db33abae955e.eot 33.6 KiB [emitted] [0] ac21cac3f22cc9642f5af32e0c750797.woff2 13.3 KiB [emitted] [0] ba3dcd8903e3d0af5de7792777f8ae0d.woff 60.3 KiB [emitted] [0] d6d8d5da9214dc7d46b297672a602d55.woff2 73.6 KiB [emitted] [0] dc81817def276b4f21395f7ea5e88dcd.woff 61.4 KiB [emitted] [0] df02c782834b113d605d8329368737b4.woff 85.5 KiB [emitted] [0] df7b648ce5356ea1ebce435b3459fd60.ttf 123 KiB [emitted] [0] dfe56a876d0282555d1e2458e278060f.eot 21.2 KiB [emitted] [0] e31fcf1885e371e19f5786c2bdfeae1b.ttf 125 KiB [emitted] [0] ecdd509cadbf1ea78b8d2e31ec52328c.eot 20.5 KiB [emitted] [0] fc78759e93a6cac50458610e3d9d63a0.woff 61.5 KiB [emitted] [0] index.html 1.62 KiB [emitted] [0] main.js 7.16 MiB main [emitted] main [0] Entrypoint main = main.js [0] [0] multi (webpack)-dev-server/client?http://localhost:8080 ./docs/index.js 40 bytes {main} [built] [0] [./dist/css/mdb.css] 1.06 KiB {main} [built] [0] [./docs/App.js] 7.37 KiB {main} [built] [0] [./docs/index.css] 1.06 KiB {main} [built] [0] [./docs/index.js] 412 bytes {main} [built] [0] [./docs/registerServiceWorker.js] 3.83 KiB {main} [built] [0] [./node_modules/@fortawesome/fontawesome-free/css/all.min.css] 1.03 KiB {main} [built] [0] [./node_modules/bootstrap-css-only/css/bootstrap.min.css] 1.04 KiB {main} [built] [0] [./node_modules/loglevel/lib/loglevel.js] 7.68 KiB {main} [built] [0] [./node_modules/querystring-es3/index.js] 127 bytes {main} [built] [0] [./node_modules/react-dom/index.js] 1.33 KiB {main} [built] [0] [./node_modules/react/index.js] 190 bytes {main} [built] [0] [./node_modules/url/url.js] 22.8 KiB {main} [built] [0] [./node_modules/webpack-dev-server/client/index.js?http://localhost:8080] (webpack)-dev-server/client?http://localhost:8080 8.26 KiB {main} [built] [0] [./node_modules/webpack-dev-server/client/overlay.js] (webpack)-dev-server/client/overlay.js 3.59 KiB {main} [built] [0] + 653 hidden modules [0] Child html-webpack-plugin for "index.html": [0] 1 asset [0] Entrypoint undefined = index.html [0] [./node_modules/html-webpack-plugin/lib/loader.js!./public/index.html] 1.8 KiB {0} [built] [0] [./node_modules/lodash/lodash.js] 528 KiB {0} [built] [0] [./node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 472 bytes {0} [built] [0] [./node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 497 bytes {0} [built] [0] ℹ 「wdm」: Compiled successfully. ^C[0] webpack-dev-server --watch exited with code SIGINT


Konrad Stępień staff answered 5 years ago

Hi @Prasad Shenoy,

Thank you for the founded bug! We will fix this in the near future. But for this time just use an npm start command. The alert is a just warn, We will look at this warning message.

Best regards.


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.20.0
  • Device: Linux
  • Browser: Chrome
  • OS: Ubuntu
  • Provided sample code: No
  • Provided link: Yes