当我使用webstrome创建vue项目时,只需获取package.json和yarn-error.log
尝试更多并检查vue-cli
yarn-error.log代码: 参数: /usr/local/Cellar/node/12.6.0/bin/node /usr/local/Cellar/yarn/1.17.3/libexec/bin/yarn.js --registry = [2K [1Ghttps://registry.npm .taobao.org
路径: /Users/xxx/WebstormProjects/untitled3/node_modules/.bin:/Users/xxx/WebstormProjects/node_modules/.bin:/Users/xxx/node_modules/.bin:/Users/node_modules/.bin:/node_modules/.bin: / usr / local /地窖/节点/12.6.0/bin:/用户/xxx/.npm/_npx/22924/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin :/ usr / sbin:/ sbin:/ Library / Apple / usr / bin:/ Library / Apple / bin:/Users/xxx/apache-maven-3.6.1/bin
纱线版本: 1.17.3
节点版本: 12.6.0
平台: 达尔文x64
追踪: 错误:[2K [1Ghttps://registry.npm.taobao.org/@vue%2fcli-plugin-babel:无效的URI“ [2K [1Ghttps://registry.npm.taobao.org/@vue%2fcli-plugin -babel“ 在Request.module.exports.Request.init(/usr/local/Cellar/yarn/1.17.3/libexec/lib/cli.js:140552:31) 在新请求下(/usr/local/Cellar/yarn/1.17.3/libexec/lib/cli.js:140406:8) 根据要求(/usr/local/Cellar/yarn/1.17.3/libexec/lib/cli.js:137312:10) 在RequestManager.execute(/usr/local/Cellar/yarn/1.17.3/libexec/lib/cli.js:66882:15) 在RequestManager.shiftQueue(/usr/local/Cellar/yarn/1.17.3/libexec/lib/cli.js:66920:10) 在/usr/local/Cellar/yarn/1.17.3/libexec/lib/cli.js:66599:13 在新的Promise() 在新的F(/usr/local/Cellar/yarn/1.17.3/libexec/lib/cli.js:5296:28) 在RequestManager.request(/usr/local/Cellar/yarn/1.17.3/libexec/lib/cli.js:66597:19) 在NpmRegistry。 (/usr/local/Cellar/yarn/1.17.3/libexec/lib/cli.js:31694:42)
npm清单: { “ name”:“ untitled3”, “ version”:“ 0.1.0”, “私人”:是的, “ devDependencies”:{ “ @ vue / cli-plugin-babel”:“ ^ 4.0.0”, “ @ vue / cli-plugin-eslint”:“ ^ 4.0.0”, “ @ vue / cli-service”:“ ^ 4.0.0” } }
纱线清单: 没有清单
锁定文件: 没有锁文件
前,我将得到包含src,public等的文件夹。