Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: MDB Pro React 4.8.1 run failure

millportmedia pro asked 6 years ago


After downloading MDB Pro React and installing the dependencies, I entered npm start in Terminal. The app failed to start with error message:

> yarn run sass-compile && concurrently --kill-others "yarn run sass-compile --watch" "yarn run webpack"

sh: yarn: command not found

npm ERR! file sh

npm ERR! code ELIFECYCLE

npm ERR! errno ENOENT

npm ERR! syscall spawn

npm ERR! mdbreact@4.8.1 start: `yarn run sass-compile && concurrently --kill-others "yarn run sass-compile --watch" "yarn run webpack"`

npm ERR! spawn ENOENT

npm ERR!

npm ERR! Failed at the mdbreact@4.8.1 start script.

npm ERR! This is probably not a problem with npm. There is likely additional logging output above.


millportmedia pro commented 6 years ago

Fixed this by (1) installing Homebrew (https://brew.sh/) and (2) installing yarn (brew install yarn --without-node). MDB instructions should include these steps.

Mikołaj Smoleński staff commented 6 years ago

Thanks for letting us know about Your issue. 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

Opened

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 4.7.1
  • Device: iMac
  • Browser: Chrome
  • OS: Mac OS
  • Provided sample code: No
  • Provided link: No