dvv / pecypc Goto Github PK
View Code? Open in Web Editor NEWA skeleton of a cowboy web service, ready for heroku
License: MIT License
A skeleton of a cowboy web service, ready for heroku
License: MIT License
Hi, Vladimir!
I testing you project, and when pushing to heroku, i have this error:
D:\develop\erlang\Oauth2\pecypc>git push heroku master
-----> Fetching custom git buildpack... done
-----> Erlang app detected
-----> Using Erlang/OTP OTP_R16B
-------> Fetching Erlang/OTP OTP_R16B
-------> Unpacking Erlang/OTP OTP_R16B
-------> Installing Erlang/OTP OTP_R16B
-----> Installing Rebar from buildpack
-----> Building with Rebar
==> build_17xw5264310no (get-deps)
Pulling lager from {git,"https://github.com/basho/lager.git",{branch,"HEAD"}}
Initialized empty Git repository in /tmp/build_17xw5264310no/deps/lager/.git/
Pulling cowboy from {git,"https://github.com/extend/cowboy.git",
{branch,"HEAD"}}
Initialized empty Git repository in /tmp/build_17xw5264310no/deps/cowboy/.git/
Pulling mimetypes from {git,"https://github.com/dvv/mimetypes.git",
{branch,"HEAD"}}
Initialized empty Git repository in /tmp/build_17xw5264310no/deps/mimetypes/.git/
Pulling stable from {git,"https://github.com/dvv/stable.git",{branch,"HEAD"}}
Initialized empty Git repository in /tmp/build_17xw5264310no/deps/stable/.git/
Pulling erlydtl from {git,"https://github.com/evanmiller/erlydtl.git",
{branch,"HEAD"}}
Initialized empty Git repository in /tmp/build_17xw5264310no/deps/erlydtl/.git/
Pulling hackney from {git,"https://github.com/benoitc/hackney.git",
{branch,"HEAD"}}
Initialized empty Git repository in /tmp/build_17xw5264310no/deps/hackney/.git/
Pulling gproc from {git,"https://github.com/uwiger/gproc.git",{branch,"HEAD"}}
Initialized empty Git repository in /tmp/build_17xw5264310no/deps/gproc/.git/
==> lager (get-deps)
Pulling goldrush from {git,"git://github.com/DeadZen/goldrush.git",
{tag,"879c69874a"}}
Initialized empty Git repository in /tmp/build_17xw5264310no/deps/goldrush/.git/
==> goldrush (get-deps)
==> cowboy (get-deps)
Pulling ranch from {git,"git://github.com/extend/ranch.git","0.8.3"}
Initialized empty Git repository in /tmp/build_17xw5264310no/deps/ranch/.git/
==> ranch (get-deps)
==> mimetypes (get-deps)
==> stable (get-deps)
Pulling termit from {git,"https://github.com/dvv/termit.git",{branch,"HEAD"}}
Initialized empty Git repository in /tmp/build_17xw5264310no/deps/termit/.git/
Pulling jsx from {git,"https://github.com/talentdeficit/jsx.git",
{branch,"HEAD"}}
Initialized empty Git repository in /tmp/build_17xw5264310no/deps/jsx/.git/
==> termit (get-deps)
Pulling base64url from {git,"https://github.com/dvv/base64url.git",
{branch,"HEAD"}}
Initialized empty Git repository in /tmp/build_17xw5264310no/deps/base64url/.git/
==> base64url (get-deps)
==> jsx (get-deps)
==> erlydtl (get-deps)
==> hackney (get-deps)
==> gproc (get-deps)
==> goldrush (compile)
Compiled src/gr_context.erl
Compiled src/glc_ops.erl
Compiled src/glc_code.erl
Compiled src/gre.erl
Compiled src/glc.erl
1/2
Compiled src/glc_lib.erl
ERROR: compile failed while processing /tmp/build_17xw5264310no/deps/goldrush: {'EXIT',
{function_clause,
[{proplists,get_value,
[doc_root,{doc_root,"priv/templates"},"templates"],
[{file,"proplists.erl"},{line,225}]},
{rebar_erlydtl_compiler,'-compile/2-fun-1-',3,
[{file,"src/rebar_erlydtl_compiler.erl"},{line,112}]},
{lists,foldl,3,[{file,"lists.erl"},{line,1248}]},
{rebar_erlydtl_compiler,compile,2,
[{file,"src/rebar_erlydtl_compiler.erl"},{line,110}]},
{rebar_core,run_modules,4,[{file,"src/rebar_core.erl"},{line,404}]},
{rebar_core,execute,5,[{file,"src/rebar_core.erl"},{line,333}]},
{rebar_core,process_dir0,6,[{file,"src/rebar_core.erl"},{line,195}]},
{rebar_core,process_each,5,
[{file,"src/rebar_core.erl"},{line,266}]}]}}
-----> Build failed
! Push rejected, failed to compile Erlang app
I use
BUILDPACK_URL="https://github.com/archaelus/heroku-buildpack-erlang.git"
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.