小编Jio*_*Jio的帖子

模块Myapp.Router.Helpers未加载,无法找到

Elixir/Phoenix应用程序中的编译错误:

== Compilation error on file web/views/layout_view.ex ==
** (CompileError) web/views/layout_view.ex:2: module Myapp.Router.Helpers is not loaded and could not be found
    expanding macro: Myapp.Web.__using__/1
    web/views/layout_view.ex:2: Myapp.LayoutView (module)
    (elixir) expanding macro: Kernel.use/2
    web/views/layout_view.ex:2: Myapp.LayoutView (module)
    (elixir) lib/kernel/parallel_compiler.ex:117: anonymous fn/4 in Kernel.ParallelCompiler.spawn_compilers/1
Run Code Online (Sandbox Code Playgroud)

我的web.ex是一个标准的,没有什么新东西.

elixir phoenix-framework

6
推荐指数
2
解决办法
2722
查看次数

标签 统计

elixir ×1

phoenix-framework ×1