Topic: Automatically download from git with token doesn't work

Gaetano D'Agostino free asked 4 years ago


Expected behavior I got the token and added the following link 'https://oauth2:MYTOKEN@git.mdbootstrap.com/mdb/react/re-pro.git/' in package.json. When I run yarn I expect everything to be successful.

Actual behavior when I run yarn this is the output: fatal: repository 'https://oauth2:MYTOKEN@git.mdbootstrap.com/mdb/react/re-pro.git/' not found

Obviously instead of MYTOKEN I entered my generated token.


Konrad Stępień staff answered 4 years ago


Hi @Gaetano D'Agostino,

Can you send me a screenshot of your console after you run yarn with censored token?

Did you try to generate a new token for your project?

Also if you paste your token to package.json, please delete yarn.lock, package-lock.json and node_modules folder and then run yarn

I waiting for more pieces of information. Regards, Konrad.



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 React
  • MDB Version: 4.19.2
  • Device: XPS 13
  • Browser: Chrome
  • OS: Ubuntu 18.04 LTS
  • Provided sample code: Yes
  • Provided link: Yes