【问题标题】:"ERROR command failed: npm install --loglevel error" when trying to do "vue create"尝试执行“vue create”时出现“错误命令失败:npm install --loglevel 错误”
【发布时间】:2019-05-10 13:46:45
【问题描述】:
Vue CLI v3.2.1
✨  Creating project in /home/mcaubrey511/portfolio.
????  Initializing git repository...
⚙  Installing CLI plugins. This might take a while...


> yorkie@2.0.0 install /home/mcaubrey511/portfolio/node_modules/yorkie
> node bin/install.js


ERROR  command failed: npm install --loglevel error

环境信息

系统:

操作系统:Linux 4.18 Ubuntu 18.10(宇宙墨鱼)

CPU:(1) x64 Intel(R) Xeon(R) CPU @ 2.30GHz

二进制文件:

节点:10.14.1 - /usr/bin/node

npm: 6.4.1 - /usr/bin/npm

npmPackages:

@vue/babel-preset-app: 3.2.0

@vue/cli-overlay: 3.2.0

@vue/cli-plugin-babel: ^3.2.0 => 3.2.0

@vue/cli-plugin-eslint: ^3.2.0 => 3.2.1

@vue/cli-service: ^3.2.0 => 3.2.0

@vue/cli-shared-utils: 3.2.0

@vue/component-compiler-utils: 2.3.0

@vue/preload-webpack-plugin: 1.1.0

@vue/web-component-wrapper: 1.2.0

babel-helper-vue-jsx-merge-props: 2.0.3

babel-plugin-transform-vue-jsx: 4.0.1

eslint-plugin-vue: 4.7.1

vue-eslint-parser: 2.0.3

vue-hot-reload-api: 2.3.1

vue-loader: 15.4.2

vue-style-loader: 4.1.2

vue-template-es2015-compiler: 1.6.0

npmGlobalPackages:

@vue/cli: 3.2.1


知道出了什么问题或我可以做些什么来让它工作吗?

【问题讨论】:

    标签: vue.js vue-cli


    【解决方案1】:

    将我使用的机器切换到 Ubuntu 18.04 LTS 后,我不再遇到问题。我创建了an issue on the vue-cli 存储库,似乎至少还有一个人遇到了类似的问题,但环境不同。

    【讨论】:

      猜你喜欢
      • 2019-05-24
      • 2018-09-01
      • 2018-08-29
      • 1970-01-01
      • 1970-01-01
      • 2019-02-27
      • 2023-01-15
      • 2019-06-11
      • 2021-11-25
      相关资源
      最近更新 更多