Topic: I already cloned the repo from git lab and did an npm install. But i can't run the npm start because i don't have yarn. anyone know how i can run the repo? thanks!

ypangilinan premium asked 3 years ago


I already cloned the repo from git lab and did an npm install. But i can't run the npm start because i don't have yarn. anyone know how i can run the repo? thanks!


Mikołaj Smoleński staff commented 3 years ago

npm start does not require yarn. Is there any error message? Best regards


ypangilinan premium commented 3 years ago

hi! yes it says sh: yarn command not found. I looked at the package.json and the start script for npm start says "yarn run webpack" not sure if i cloned the wrong project or not.


Mikołaj Smoleński staff commented 3 years ago

It looks like you cloned the React repository. Could you please check the name of it which is set in package.json file? Best regards


ypangilinan premium commented 3 years ago

"name": "mdbreact", "version": "4.27.0", "author": "MDBootstrap", "repository": "https://github.com/mdbootstrap/React-Bootstrap-with-Material-Design", "main": "dist/mdbreact.js", "module": "dist/mdbreact.esm.js", "license": "SEE LICENSE IN ", "types": "dist/types/index.d.ts",


Piotr Glejzer staff commented 3 years ago

are you try to use the free version of MDB React or the pro version? If you want to use pro version you have to do like this in this link

https://mdbootstrap.com/docs/react/getting-started/quick-start/


ypangilinan premium commented 3 years ago

ah okay!! i definitely was trying the free version and didn't realize it was different for the pro version. got it working now! thanks so much!



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

  • ForumUser: Premium
  • Premium support: Yes
  • Technology: MDB React
  • MDB Version: 4.27.0
  • Device: Mac
  • Browser: Chrome
  • OS: MacOS
  • Provided sample code: No
  • Provided link: No