To start your new Phoenix application:
- Install dependencies with
mix deps.get
- Start Phoenix endpoint with
mix phoenix.server
Now you can visit localhost:4000
from your browser.
Hi there,
I did a mistake somewhere and don't know how to do it from now.
May you please point me on the right direction on how to solve the following undefined function build/2 error ?
Kinds regards,
Pierre
== Compilation error in file web/controllers/car_controller.ex ==
** (CompileError) web/controllers/car_controller.ex:27: undefined function build/2
(stdlib) lists.erl:1338: :lists.foreach/2
(stdlib) erl_eval.erl:670: :erl_eval.do_apply/6
(elixir) lib/kernel/parallel_compiler.ex:121: anonymous fn/4 in Kernel.ParallelCompiler.spawn_compilers/1
My deps.tree is as follows :
simple_phoenix_app
├── gettext ~> 0.11 (Hex package)
├── phoenix_pubsub ~> 1.0 (Hex package)
├── cowboy ~> 1.0 (Hex package)
│ ├── cowlib ~> 1.0.2 (Hex package)
│ └── ranch ~> 1.3.2 (Hex package)
├── phoenix_html ~> 2.10 (Hex package)
│ └── plug ~> 1.0 (Hex package)
│ ├── cowboy ~> 1.0.1 or ~> 1.1 (Hex package)
│ └── mime ~> 1.0 (Hex package)
├── phoenix ~> 1.3.0-rc (Hex package)
│ ├── cowboy ~> 1.0 (Hex package)
│ ├── phoenix_pubsub ~> 1.0 (Hex package)
│ ├── plug ~> 1.3.3 or ~> 1.4 (Hex package)
│ └── poison ~> 2.2 or ~> 3.0 (Hex package)
├── phoenix_live_reload ~> 1.0 (Hex package)
│ ├── file_system ~> 0.2 (Hex package)
│ └── phoenix ~> 1.0 (Hex package)
├── postgrex >= 0.0.0 (Hex package)
│ ├── connection ~> 1.0 (Hex package)
│ ├── db_connection ~> 1.1 (Hex package)
│ │ ├── connection ~> 1.0.2 (Hex package)
│ │ └── poolboy ~> 1.5 (Hex package)
│ └── decimal ~> 1.0 (Hex package)
└── phoenix_ecto ~> 3.2 (Hex package)
├── ecto ~> 2.1 (Hex package)
│ ├── db_connection ~> 1.1 (Hex package)
│ ├── decimal ~> 1.2 (Hex package)
│ ├── poison ~> 2.2 or ~> 3.0 (Hex package)
│ ├── poolboy ~> 1.5 (Hex package)
│ └── postgrex ~> 0.13.0 (Hex package)
├── phoenix_html ~> 2.9 (Hex package)
└── plug ~> 1.0 (Hex package)
Ecto.Model is deprecated and the app no longer compiles
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.