-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting started instructions appear out of date, results in compilation error. #97
Comments
Yeah, the simple-example repo is almost certainly out of date. I'll see about updating it. That said, if you're following the instructions at http://sugar-framework.github.io/getting-started/, then that suggests Sugar itself is running into some kind of trouble there. I'll look into that as well. |
Just noting that I ran into this as well. |
Sorry for the delayed response here. So I was able to get through the Getting Started instructions on the latest versions of Erlang and Elixir, with the caveat that I had to blow away the pregenerated EEx template (else There's been talk previously of just scrapping Sugar's template compiler, given that it's buggy and overdue for eventual replacement, and Sugar's strength is more in the router/controller layer(s) anyway. Better to enforce a separation of concerns here and - like we did already by trimming out the Ecto dependency - just delegate view handling to some other system separate from Sugar to give users the freedom to use whatever best fits their applications (my dream goal here has been to create separate applications called Spice and EverythingNice for the model and view layers, respectively, but let's focus on Sugar first :) ). My 2018 New Year's Resolution was to get OTPCL to the point where it could actually evaluate scripts. My 2019 New Year's Resolution is to resume polishing up Sugar to be the proper contender to Phoenix that the Elixir ecosystem needs. Hopefully I'll be able to keep up this resolution streak. |
Hey just mentioning that trying to use elixir 1.16 with OTP 26 gives me the following compilation error:
|
@ashton Try adding |
@YellowApple, I ran into this problem related by @ashton. The problem is that some sugar dependencies uses a lot of code that is deprecated on newer Elixir versions. I correct the errors by hand and all of those was cases about to change a function call from I think the best way to handle with the errors is to compile the dependencies on the newest elixir version, correct the warnings and release a new version of the dependencies |
Likely this indicates that the simple repo hasn't been touched in a long while. Haven't dived into it further than following the instructions as listed and seeing it fail.
The following is my elixir/erlang version string if that's useful in understanding where this error is coming from.
The text was updated successfully, but these errors were encountered: