Vagrant stencil-cli 安装

Vagrant stencil-cli install

从全新的 Ubuntu 14.04.5 安装开始,我将服务器配置为:

(运行 sudo apt-get update)

  1. curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash - sudo apt-get install -y nodejs(来自 nodejs 文档)
  2. sudo apt-get install git -y
  3. curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.28.0/install.sh | bash nvm install 4.1.2(来自 stencil-cli 文档页面)
  4. npm install -g @bigcommerce/stencil-cli

它returns这个-

npm WARN deprecated good-reporter@3.1.0: This module is no longer being maintained and is no longer needed for custom Good reporters. npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN peerDependencies The peer dependency eslint-plugin-react@^4.2.3 included from eslint-config-airbnb will no npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly. npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue Killed

未完成就停止。我做错了什么,我怎样才能让它发挥作用?

我发现启动服务器时虚拟机的内存已用尽。我增加了内存,命令停止了。