Topic: Automatically download from git with token doesn't work
Gaetano D'Agostino free asked 5 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 5 years ago
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.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- 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