TypeError: bar.update is not a function
at progress (/usr/local/lib/node_modules/fis3/node_modules/fis-command-install/install.js:278:21)
at ClientRequest. (/usr/local/lib/node_modules/fis3/node_modules/fis-scaffold-kernel/lib/util.js:227:21)
at ClientRequest.g (events.js:260:16)
at emitOne (events.js:77:13)
vat ClientRequest.emit (events.js:169:7)
at HTTPParser.parserOnIncomingClient as onIncoming
at HTTPParser.parserOnHeadersComplete (_http_common.js:88:23)
at TLSSocket.socketOnData (_http_client.js:315:20)
at emitOne (events.js:77:13)
at TLSSocket.emit (events.js:169:7)
at readableAddChunk (_stream_readable.js:146:16)
at TLSSocket.Readable.push (_stream_readable.js:110:10)
at TLSWrap.onread (net.js:523:20)
component.json
配置文件如下:当运行
fis3 install
时,会提示以下错误:不知道具体原因是怎么造成的,只在本地将这段代码修改为如下,然后就可以继续安装组件了
另外,还有一个点,感觉在用
fis3 install
安装组件时,不大稳定,经常会一直在analyzing dependencies
,但是用npm install
对应的文件时,却很顺利,不知道什么原因。