Giter VIP home page Giter VIP logo

elm-expressway's People

Contributors

sonnym avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

elm-expressway's Issues

Text.asText has moved to Graphics.Element

Thank you for this boilerplate and example!

After replacing the references to asText, I managed to compile your project:
import Graphics.Element exposing (show)

http://elm-lang.org/blog/announce/0.15
http://stackoverflow.com/questions/31142315/could-not-import-value-text-astext-in-elm-0-15

But the node process crashes when opening the html page:

/Users/alex/Code/elm/expressway/index.js:27
    elmServer.emitter.on("sendState", function(state) {
                     ^
TypeError: Cannot read property 'on' of undefined
    at Server.<anonymous> (/Users/alex/Code/elm/expressway/index.js:27:22)
    at Server.emit (events.js:107:17)
    at App.emit (/Users/alex/Code/elm/expressway/node_modules/elm-expressway/node_modules/sockjs/lib/sockjs.js:193:29)
    at /Users/alex/Code/elm/expressway/node_modules/elm-expressway/node_modules/sockjs/lib/transport.js:111:25
    at process._tickCallback (node.js:355:11)

Thanks!

Text.asText deprecated

As noted in #1

[18:23:44] [nodemon] watching: index.js MyApp/**/*
[18:23:44] [nodemon] starting `node index.js`
elm-make: elm-lang-core-243a31b: rename: unsatisfied constraints (Directory not empty)
Elm: An error ocurred during processing
Error: Command failed: elm-make --yes /Users/kristianmandrup/repos/elm-projs/myapp/MyApp/Server.elm --output /Users/kristianmandrup/repos/elm-projs/myapp/MyApp/Server.js
elm-make: elm-lang-core-243a31b: rename: unsatisfied constraints (Directory not empty)

SockJS v0.3.15 bound to "/socket"
-- NAMING ERROR -- /Users/kristianmandrup/repos/elm-projs/myapp/MyApp/Client.elm

Cannot find variable `Text.asText`.

7โ”‚ main = Signal.map Text.asText receiveState
                     ^^^^^^^^^^^
`Text` does not expose `asText`. 

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.