Topic: Unable to connect to git via yarn add
Expected behavior
I am trying to install mdbootstrap pro using your INSTALL.md but I keep on getting the project you're looking for could not be found
Resources (screenshots, code snippets etc.)
$ yarn add git+https://oauth2:MY_TOKEN@git.mdbootstrap.com/mdb/jqurey/jq-pro.git
yarn add v1.16.0
[1/4] Resolving packages...
error Command failed.
Exit code: 128
Command: git
Arguments: ls-remote --tags --heads https://oauth2:MY_TOKEN@git.mdbootstrap.com/mdb/jqurey/jq-pro.git
Directory: /Users/username/Projects/project_name
Output:
remote: The project you were looking for could not be found.
fatal: repository 'https://oauth2:MY_TOKEN@git.mdbootstrap.com/mdb/jqurey/jq-pro.git/' not found
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
lguenier answered 5 years ago
Ok so the install.md has a typo https://oauth2:MY_TOKEN@git.mdbootstrap.com/mdb/jqurey/jq-pro.git/
Bartłomiej Malanowski staff pro premium commented 5 years ago
Wow, that's an awful typo. Thank you for noticing! I've updated INSTALLATION.md
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Free
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.8.3
- Device: Macbook
- Browser: Chrome
- OS: Mac os
- Provided sample code: No
- Provided link: Yes
Bartłomiej Malanowski staff pro premium commented 5 years ago
Could you please try to add the dependency manually to your project?
lguenier commented 5 years ago
It gives me the same error
lguenier commented 5 years ago
@Bartłomiej Malanowski any solution?