[英]Cannot create vue project using vue/cli
Version vue: 3.7.0 版本vue:3.7.0
When I type in CMD: 当我输入CMD时:
vue create "projectname" vue创建“projectname”
I get the following response: 我收到以下回复:
assert.js:85
throw new AssertionError(obj);
^
AssertionError [ERR_ASSERTION]: 5895 == 0
at ClientRequest.onConnect (C:\Users\mikag\AppData\Roaming\npm\node_modules\@vue\cli\node_modules\tunnel-agent\index.js:160:14)
at Object.onceWrapper (events.js:277:13)
at ClientRequest.emit (events.js:189:13)
at Socket.socketOnData (_http_client.js:475:11)
at Socket.emit (events.js:189:13)
at addChunk (_stream_readable.js:284:12)
at readableAddChunk (_stream_readable.js:265:11)
at Socket.Readable.push (_stream_readable.js:220:10)
at TCP.onStreamRead [as onread] (internal/stream_base_commons.js:94:17)
Have you tried with NodeJS v12.1.0, as it is supposed to be fixed by now. 您是否尝试使用NodeJS v12.1.0,因为它现在应该已修复。 This is one of the known issues, as per: https://github.com/vuejs/vue-cli/issues/3883
这是已知问题之一,按照: https : //github.com/vuejs/vue-cli/issues/3883
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.