Automatically download from git with token doesn't work


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

Gaetano D'Agostino pro asked a week 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 a week 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.
Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: React
  • MDB Version: 4.19.2
  • Device: XPS 13
  • Browser: Chrome
  • OS: Ubuntu 18.04 LTS
  • Provided sample code: No
  • Provided link: Yes