Giter VIP home page Giter VIP logo

elm-html-in-elm's Introduction

elm-html-in-elm

A pure Elm represention of Elm Html. This module has been taken from elm-server-side-renderer and is a pure representation of the Html structure used by VirtualDom. It is designed to allow you to inspect Html nodes

This package is used to support testing with elm-html-test.

This package is also used to support using Elm as to generate static files for your site with elm-static-html

elm-html-in-elm's People

Contributors

avh4 avatar danielnarey avatar eeue56 avatar rogeriochaves avatar yetanotherminion avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

elm-html-in-elm's Issues

Build fails because of transitive dependency

Problem

My build suddenly failed today (18 July 2017) with the following error message:

$ elm-test 
Success! Compiled 119 modules.
Successfully generated /tmp/elm_test_117618-6873-q2aemp.5e8rxjemi.js
The test run failed because it encountered a runtime exception:
 ReferenceError: _eeue56$elm_html_in_elm$ElmHtml_ToString$nodeToStringWithOptions is not defined
    at eval (eval at <anonymous> (/home/travis/build/FRosner/cluster-broccoli/elm/node_modules/elm-test/bin/elm-test:119:32), <anonymous>:9542:66)
    at eval (eval at <anonymous> (/home/travis/build/FRosner/cluster-broccoli/elm/node_modules/elm-test/bin/elm-test:119:32), <anonymous>:26055:4)
    at /home/travis/build/FRosner/cluster-broccoli/elm/node_modules/elm-test/bin/elm-test:119:32
    at evalElmCode (/home/travis/build/FRosner/cluster-broccoli/elm/node_modules/elm-test/bin/elm-test:119:76)
    at /home/travis/build/FRosner/cluster-broccoli/elm/node_modules/elm-test/bin/elm-test:303:33
    at process._tickCallback (internal/process/next_tick.js:103:7)
error Command failed with exit code 2.

Looking into the details I discovered that elm-html-test (3.0.0) was pulling elm-html-in-elm (5.0.0) as a transitive dependency but now it was pulling a newer version (5.2.0). This most probably caused the error.

When I execute it locally it still pulls 5.0.0. Why is this happening?

References

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.