vuejs / vue-docs-zh-cn

该项目已不再维护,有劳通过 Vue 官网查阅最新的文档
https://cn.vuejs.org/
MIT License
1.32k stars 196 forks source link

npm i -g @vue/cli安装报错 #12

Closed EdgeAsh closed 6 years ago

EdgeAsh commented 6 years ago

7 http fetch GET 200 https://registry.npmjs.org/@vue%2fcli 16ms (from cache) 8 silly pacote tag manifest for @vue/cli@latest fetched in 94ms 9 timing stage:loadCurrentTree Completed in 373ms 10 silly install loadIdealTree 11 silly install cloneCurrentTreeToIdealTree 12 timing stage:loadIdealTree:cloneCurrentTree Completed in 0ms 13 silly install loadShrinkwrap 14 timing stage:loadIdealTree:loadShrinkwrap Completed in 0ms 15 silly install loadAllDepsIntoIdealTree 16 silly resolveWithNewModule @vue/cli@3.0.0-beta.16 checking installable status 17 http fetch GET 200 https://registry.npmjs.org/@vue%2fcli-shared-utils 80ms (from cache) 18 http fetch GET 200 https://registry.npmjs.org/@vue%2fcli-ui 81ms (from cache) 19 http fetch GET 200 https://registry.npmjs.org/chalk 82ms (from cache) 20 http fetch GET 200 https://registry.npmjs.org/cmd-shim 82ms (from cache) 21 http fetch GET 200 https://registry.npmjs.org/commander 82ms (from cache) 22 http fetch GET 200 https://registry.npmjs.org/debug 82ms (from cache) 23 http fetch GET 200 https://registry.npmjs.org/download-git-repo 82ms (from cache) 24 silly fetchPackageMetaData error for @vue/cli-ui@^3.0.0-beta.16 Unexpected end of JSON input while parsing near '...li-plugin-apollo":"^0' 25 silly pacote range manifest for @vue/cli-shared-utils@^3.0.0-beta.16 fetched in 82ms

这是部分报错日志,json文件有错误

Jinjiang commented 6 years ago

抱歉这个仓库只做翻译讨论,使用问题请在主流的问答社区或论坛讨论,bug 可以直接提给相应的库的 repo。 谢谢