小编Cha*_*ich的帖子

mix deps.get 失败(依赖问题)

我对 elixir 和 phoenix(和 ubuntu)很陌生,并且一直在努力让自己启动并运行 Web 开发。使用创建新的凤凰应用程序时

mix phoenix.new webapp
Run Code Online (Sandbox Code Playgroud)

我从终端收到以下错误

Fetch and install dependencies? [Yn] y
* running mix deps.get
* error command failed to execute, please run the following command again after installation: "mix deps.get"
* 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"
Run Code Online (Sandbox Code Playgroud)

和跑步时 mix deps.get

结果错误信息是

** (Mix) No package with name phoenix_ecto (from: mix.exs) in registry …
Run Code Online (Sandbox Code Playgroud)

postgresql elixir-mix elixir phoenix-framework

6
推荐指数
1
解决办法
2235
查看次数

货物测试不显示任何输出,也不显示所有测试

运行cargo test不会显示所有 4 个测试,也不会显示我运行的任何测试的任何输出。我有4个测试:

test common::tests::test_workingdays 
test documents::tests::create_docs 
test emailer::tests::test_attachments 
test emailer::tests::test_format_attachments 
Run Code Online (Sandbox Code Playgroud)
test common::tests::test_workingdays 
test documents::tests::create_docs 
test emailer::tests::test_attachments 
test emailer::tests::test_format_attachments 
Run Code Online (Sandbox Code Playgroud)

它只运行其中两个,甚至没有向我提供有关失败的信息。

testing rust rust-cargo

6
推荐指数
1
解决办法
1263
查看次数