Topic: cannot install mdb pro using github

zafer inkaya free asked 5 years ago


I tried to download the mdb vue pro package as it is explained in the document, but I am getting the following errors when I try. Further, it is the admin pro project only. I cannot have access to mdb pro if there is a separate project for it.

Note: I replaced the SSH key that I used with in the below scripts. I have the right key, because I tested it.

PS C:_WorkVueJS\Samples\mdblnbase01> npm install git+https://oauth2:-my-key-@git@git.mdbootstrap.com:mdb/vue/mdbvue-admin-pro.git --save

npm ERR! Error while executing: npm ERR! C:\Program Files\Git\cmd\git.EXE ls-remote -h -t https://oauth2:-my-key-git@git.mdbootstrap.com/:mdb/vue/mdbvue-admin-pro.git npm ERR! npm ERR! remote: HTTP Basic: Access denied npm ERR! fatal: Authentication failed for 'https://oauth2:-my-key-@git.mdbootstrap.com/:mdb/vue/mdbvue-admin-pro.git/' npm ERR! npm ERR! exited with error code: 128

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\zafer.inkaya\AppData\Roaming\npm-cache_logs\2019-02-25T11_01_13_320Z-debug.log

PS C:_WorkVueJS\Samples\mdblnbase01> npm install git+https://oauth2:-my-key-@git.mdbootstrap.com/mdb/vue/mdbvue-admin-pro.git --save npm

ERR! code ENOLOCAL npm ERR! Could not install from "node_modules\mdbvue-admin-pro\mdbvue" as it does not contain a package.json file.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\zafer.inkaya\AppData\Roaming\npm-cache_logs\2019-02-25T11_02_29_629Z-debug.log


zafer inkaya free commented 5 years ago

I also tried the alternative method by inserting the following line into my existing project's dependencies in package.json:

"mdbvue": "git+https://oauth2:@git.mdbootstrap.com/mdb/vue/mdbvue-admin-pro.git"

then I ran the npm install command and got the following lines in my cmd terminal:

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: mdbvue@./mdbvue (node_modules\mdbvue-admin-pro\node_modules\mdbvue): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Could not install from "node_modules\mdbvue-admin-pro\mdbvue" as it does not contain a package.json file. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.7 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

audited 31910 packages in 28.524s found 0 vulnerabilities


Mikołaj Smoleński staff answered 5 years ago


In Your first message there is a mistake in the link. Please try once again to install MDB Pro with the correct link.

According to Admin-Pro - it is a self-independent app and You can't install it as a dependency.

Best regards


zafer inkaya free commented 5 years ago

Thank you Mikolaj. That was one of my trials to find right right project name. After my message to your contacts department, we have noticed that I was not assigned the access right to the right mdb vue project. Now everything is handled.



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: Free
  • Premium support: No
  • Technology: MDB Vue
  • MDB Version: 5.1.0
  • Device: notebook
  • Browser: chrome
  • OS: windows 10
  • Provided sample code: No
  • Provided link: Yes