gleam-lang / example-echo-server

🔗 An example Gleam web application
Apache License 2.0
74 stars 12 forks source link

got a compile error when running `gleam run` #19

Closed ORESoftware closed 7 months ago

ORESoftware commented 7 months ago

So I did:

git clone this
gleam deps download
gleam run

I got this:

===> Compiling elli
error: Syntax error
   ┌─ /Users/alex.mills/codes/oresoftware/example-echo-server/build/packages/gleam_stdlib/src/gleam/bit_string.gleam:11:1
   │
11 │ if erlang {
   │ ^^ I was not expecting this

Expected one of: 
An import, const, type, if block, or function.
lpil commented 7 months ago

Thank you. I've updated this library for Gleam v1

ORESoftware commented 7 months ago

for sure