Topic: Issue on gitLab to install MDB UI KIT and plugins
Expected behavior Installing mdb-ui-kit and plugins from gitLab with access-token.
Actual behavior When i try to use the gived command to install via NPM with my access token (I'm sure I didn't made mistakes in token generation because last year, when i first tried to install my MDB-PRO-ADVANCED kit with gitLab, It was perfect) I get this error:
npm error code 128
npm error An unknown git error occurred
npm error command git --no-replace-objects clone https://oauth2:***@git.mdbootstrap.com/mdb/standard/mdb-ui-kit-pro-advanced C:\Users\fedev\AppData\Local\npm-cache\_cacache\tmp\git-cloneKs1jX0 --recurse- submodules --config core.longpaths=true
npm error Cloning into 'C:\Users\fedev\AppData\Local\npm-cache\_cacache\tmp\git- cloneKs1jX0'...
npm error warning: redirecting to https://git.mdbootstrap.com/mdb/standard/mdb-ui- kit-pro-advanced.git/
npm error fatal: multiple updates for ref 'refs/remotes/origin/master' not allowed
npm error A complete log of this run can be found in: C:\Users\fedev\AppData\Local\npm-cache\_logs\2024-05-22T15_38_57_584Z-debug- 0.log
I have tried all things in my mind like updating git and npm, cleaning git cache, cloning git repo directly in my folder without using npm... Can you please help me? Thank you.
Grzegorz Bujański staff answered 7 months ago
This looks like a git configuration error on your machine. Check out this thread on Stack Overflow: https://stackoverflow.com/questions/54922704/git-cloning-error-fatal-multiple-updates-for-ref-not-allowed
Verlino pro premium priority commented 7 months ago
Solved! It was an error in my .gitconfig file. Thank you!
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: MDB5 7.2.0
- Device: PC
- Browser: Chromium
- OS: Windows
- Provided sample code: No
- Provided link: No