问题描述
我正在尝试使用 gulp 构建 Angular 应用程序,但会引发以下错误
即使更改为yarn config set strict-ssl false
less error: resource 'https://fonts.googleapis.com/css?family=Roboto:100,200,300,400,500,600,700,800,900' gave this Error:
Error: unable to get local issuer certificate
in file /Users/...../......../src/styles/main.less line no. 1
/Users/..../node_modules/...../lib/gulp/styles.js:48
throw new Error('less failures');
^
Error: less failures
at Duplexify.errorHandler (/Users/..../node_modules/....../lib/gulp/styles.js:48:17)
at Duplexify.emit (events.js:203:15)
at Duplexify.EventEmitter.emit (domain.js:448:20)
at Duplexify._destroy (/Users/...../node_modules/duplexify/index.js:191:15)
at /Users/...../node_modules/duplexify/index.js:182:10
at process._tickCallback (internal/process/next_tick.js:61:11)
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)