Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Unable to connect to git via yarn add

lguenier free asked 5 years ago


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.

Bartłomiej Malanowski staff commented 5 years ago

Could you please try to add the dependency manually to your project?


lguenier free commented 5 years ago

It gives me the same error


lguenier free commented 5 years ago

@Bartłomiej Malanowski any solution?


lguenier free 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 commented 5 years ago

Wow, that's an awful typo. Thank you for noticing! I've updated INSTALLATION.md



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue

  • ForumUser: 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