按照说明https://mdbootstrap.com/docs/angular/getting-started/quick-start/(专业版NPM安装)进行操作。
我无法访问请求的GIT文件,因为我们公司的防火墙限制了对证书的访问。
是否有一种方法可以在我的package.json
中使用?
package.json
"dependencies": {
...
"git+https://oauth2:sBBYpBsf-mcbHgYHUFa7@git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git"
},
npm安装错误:
npm ERR! Error while executing:
npm ERR! C:\Program Files\Git\cmd\git.EXE ls-remote -h -t https://oauth2:sBBYpBsf-mcbHgYHUFa7@git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git
npm ERR!
npm ERR! fatal: unable to access 'https://oauth2:sBBYpBsf-mcbHgYHUFa7@git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git/': SSL certificate problem: self signed certificate in certificate chain
npm ERR!
npm ERR! exited with error code: 128