2017-02-22 110 views
0

從一個新鮮的Ubuntu 14.04.5安裝,我將服務器配置爲這樣:流浪模版CLI安裝

(運行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

它返回 -

npm WARN deprecated [email protected]: This module is no longer being maintained and is no longer needed for custom Good reporters. npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN peerDependencies The peer dependency [email protected]^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 [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue Killed

停止完成之前。我做錯了什麼,我怎麼才能使這個工作?

回答

1

我發現虛擬機的內存在啓動服務器時被最大化。我增加了內存,命令停止了。