Node.js 错误:无法获取本地颁发者证书。资源错误https://fonts.googleapis.com/css

Node.js 错误:无法获取本地颁发者证书。资源错误https://fonts.googleapis.com/css,node.js,angularjs,angular,gulp,less,Node.js,Angularjs,Angular,Gulp,Less,我正在尝试使用gulp构建angular应用程序,它抛出以下错误 即使更改为纱线配置设置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/..

我正在尝试使用gulp构建angular应用程序,它抛出以下错误

即使更改为
纱线配置设置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)