Vue3 CLI 不断询问互联网连接速度慢的问题
P粉127901279
P粉127901279 2023-09-04 13:16:33
0
1
438
<p>在E2E测试过程中,我通过Vue CLI自动安装Vue3,确切的命令是:</p> <pre class="brush:php;toolbar:false;">npx --yes @vue/cli create vue3 --packageManager npm -n -i '{&quot;useConfigFiles&quot;:true,&quot;plugins&quot;:{&quot;@vue/cli-plugin-babel&quot;:{},&quot;@vue/cli-plugin-typescript&quot;:{&quot;classComponent&quot;:false,&quot;useTsWithBabel&quot;:true},&quot;@vue/cli-plugin-pwa&quot;:{},&quot;@vue/cli-plugin-router&quot;:{&quot;historyMode&quot;:true},&quot;@vue/cli-plugin-vuex&quot;:{},&quot;@vue/cli-plugin-eslint&quot;:{&quot;config&quot;:&quot;prettier&quot;,&quot;lintOn&quot;:[&quot;save&quot;]}},&quot;vueVersion&quot;:&quot;3&quot;}'</pre> <p>问题是,在这个过程中,这个问题不断出现:</p> <pre class="brush:php;toolbar:false;">? Your connection to the default yarn registry seems to be slow. Use https://registry.npmmirror.com for faster installation? (Y/n)</pre> <p>由于正在等待输入,因此构建失败。如何取消此提示?</p>
P粉127901279
P粉127901279

热门教程
더>
最新下载
더>
网站特效
网站源码
网站素材
프론트엔드 템플릿
关于我们 免责声明 Sitemap
PHP中文网:公益在线PHP培训,帮助PHP学习者快速成长!