错误命令无法执行。。。npm安装

错误命令无法执行。。。npm安装,npm,phoenix-framework,Npm,Phoenix Framework,我随后在当前的Debian系统上安装了Phoenix,但无法使其正常工作。当我想创建一个新的Phoenix应用程序时,我得到以下错误: abc@xyz:~$ mix phoenix.new test10 * creating test10/config/config.exs [...] * creating test10/web/views/page_view.ex Fetch and install dependencies? [Yn] Y * running npm install &am

我随后在当前的Debian系统上安装了Phoenix,但无法使其正常工作。当我想创建一个新的Phoenix应用程序时,我得到以下错误:

abc@xyz:~$ mix phoenix.new test10
* creating test10/config/config.exs
[...]
* creating test10/web/views/page_view.ex

Fetch and install dependencies? [Yn] Y
* running npm install && node node_modules/brunch/bin/brunch build
* error command failed to execute, please run the following command 
again after installation: 
"npm install && node node_modules/brunch/bin/brunch build"

[...]
如果然后运行
npm安装
,我会得到以下结果:

abc@xyz:~/test10$ npm install
npm ERR! addLocal Could not install /home/abc/test10/deps/phoenix
npm ERR! addLocal Could not install /home/abc/test10/deps/phoenix_html
npm ERR! Linux 3.16.0-4-amd64
npm ERR! argv "/usr/bin/nodejs" "/home/abc/.npm-global/bin/npm" "install"
npm ERR! node v6.5.0
npm ERR! npm  v3.10.6
npm ERR! path /home/abc/test10/deps/phoenix
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall open

npm ERR! enoent ENOENT: no such file or directory, 
open '/home/abc/test10/deps/phoenix'
npm ERR! enoent ENOENT: no such file or directory, 
open '/home/abc/test10/deps/phoenix'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent 

npm ERR! Please include the following file with any support request:
npm ERR!     /home/abc/test10/npm-debug.log
abc@xyz:~/test10$

要解决此问题,我必须做些什么?

运行
mix deps.get
完成了以下操作:

abc@xyz:~/test10$ mix deps.get
Could not find Hex, which is needed to build dependency :phoenix
Shall I install Hex? (if running non-interactively, use: "mix local.hex --force") [Yn] Y
* creating /home/abc/.mix/archives/hex-0.13.0
Running dependency resolution
Dependency resolution completed
  connection: 1.0.4
[...]

运行
mix deps.get
完成了以下任务:

abc@xyz:~/test10$ mix deps.get
Could not find Hex, which is needed to build dependency :phoenix
Shall I install Hex? (if running non-interactively, use: "mix local.hex --force") [Yn] Y
* creating /home/abc/.mix/archives/hex-0.13.0
Running dependency resolution
Dependency resolution completed
  connection: 1.0.4
[...]