Topic: Installation of Admin Pro fails

mbdtsmh free asked 4 years ago

I have installed MDBReact successfully. When trying to install MDBReact Pro Admin I get an error:

yarn add -D "https://oauth2:<token removed>^4.25.0"

yarn add v1.22.4
[1/4] Resolving packages...
warning https://oauth2:<token removed> > react-big-calendar > memoize-one@4.1.0: New custom equality api does not play well with all equality helpers. Please use v5.x
error "./mdbreact-4.25.6.tgz": Tarball is not in network and can not be located in cache (["/home/mjh/Documents/Projects/core/mdbreact-4.25.6.tgz","/home/mjh/.cache/yarn/v6/.tmp/58e397c2be7f9164e8c50334a93aa6ac/.yarn-tarball.tgz"])
info Visit for documentation about this command.

Is this the correct way to install this package?

Jakub Chmura staff commented 4 years ago

Hi @mbdtsmh,

I see that you use a path to the repo with hash at the end like below: ....... /mdb-react-admin-pro.git#semver:^4.25.0"

Did you try to install admin without this hash ??

If you want to install a specific version of Admin Pro please use this path:

yarn add -D "https://oauth2:<token removed>"

Best Kuba

mbdtsmh free commented 4 years ago

I have tried this and I get the same error. I have also tried without the hash entirely and again the same error.

The URL with the semver hash works perfectly well for the re-pro library it just does not work for the admin pro one. Can you check that it works for you or suggest another way to install using Yarn?


Jakub Chmura staff commented 4 years ago

Ok, I understand now what you mean. You want to install admin template to your existing project, but Admin pro it's a template, it's not an additional library.

Admin is only a template and it contains mdbreact package, so you can download this repo ( git clone + repo name ) and install Admin Pro ( yarn ) like a just new project and you can use ready solutions from there.

Best, Kuba

Please insert min. 20 characters.


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



Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 4.25.6
  • Device: PC
  • Browser: N/A
  • OS: Linux
  • Provided sample code: No
  • Provided link: No