Topic: Issue with installing MDB Pro package
amirdev free asked 2 years ago
I installed MDB Pro React npm package by git access token. But now after few months, when I run npm install in terminal, the package do NOT download to install.
If this issue cannot be resolved, how can I install package locally by the zip file?
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: Free
- Premium support: No
- Technology: MDB React
- MDB Version: MDB5 2.3.0
- Device: Notebook
- Browser: Chrome
- OS: Windows
- Provided sample code: No
- Provided link: No
Krzysztof Wilk staff commented 2 years ago
Hi!
Could paste the error from the console you got?
You can download an MDB package from the 'My orders' section in your account panel on the page, unzip it, copy the .tgz file, paste into your project, and link in the
package.json
with absolute path :)Keep coding!
amirdev free commented 2 years ago
This is the error from the console after npm install:
npm ERR! code 128npm ERR! Command failed: git clone --mirror -q blank" rel="nofollow">https://oauth2:*_@git.mdbootstrap.com/mdb/react/mdb5/prd/mdb5-react-ui-kit-pro-essential /root/.npm/_cacache/tmp/git-clone-5c189088/.gitnpm ERR! warning: templates not found /tmp/pacote-git-template-tmp/git-clone-76dca8f0npm ERR! error: RPC failed; result=22, HTTP code = 422npm ERR! fatal: The remote end hung up unexpectedlynpm ERR!
I put the git acces_key for authentication, and it was working properly until few days ago, but not for now!!!!
Krzysztof Wilk staff commented 2 years ago
Hi!
What version of an npm do you have? You can try to increase the git buffer using the
git config --global http.postBuffer 524288000
command. Or change the HTTP version usinggit config --global http.version HTTP/1.1
:)Keep coding!