Git Product home page Git Product logo

Comments (7)

amphitheres avatar amphitheres commented on May 29, 2024 1

@eimfach What it means is that in the most recent commit, you can include a "src" directory with your notebook and import your own modules. Try it out! We should be able to close the issue.

from jupyter-elm-kernel.

amphitheres avatar amphitheres commented on May 29, 2024

I was able to reproduce the bug and I've made a pull request to address this issue.

from jupyter-elm-kernel.

amphitheres avatar amphitheres commented on May 29, 2024

@eimfach The fix has been merged. Are you still having issues?

from jupyter-elm-kernel.

eimfach avatar eimfach commented on May 29, 2024

Hey, @ampheul, thanks. Yes, it is working, the src folder is found without the absolute path. However, it could not resolve any of my modules in it anymore:

Verifying dependencies (2/23)
Verifying dependencies (3/23)
Verifying dependencies (4/23)
Verifying dependencies (5/23)
Verifying dependencies (6/23)
Verifying dependencies (7/23)
Verifying dependencies (8/23)
Verifying dependencies (9/23)
Verifying dependencies (10/23)
Verifying dependencies (11/23)
Verifying dependencies (12/23)
Verifying dependencies (13/23)
Verifying dependencies (14/23)
Verifying dependencies (15/23)
Verifying dependencies (16/23)
Verifying dependencies (17/23)
Verifying dependencies (18/23)
Verifying dependencies (19/23)
Verifying dependencies (20/23)
Verifying dependencies (21/23)
Verifying dependencies (22/23)
Verifying dependencies (23/23)
                              
Dependencies ready!
Compiling ...-- MODULE NOT FOUND - /var/folders/sp/gzctqgp578391d065vwqx6140000gn/T/tmpp0bj3mal/input.elm

You are trying to import a `Main` module:

4| import Main
          ^^^^
I checked the "dependencies" and "source-directories" listed in your elm.json,
but I cannot find it! Maybe it is a typo for one of these names?

    Task
    Dict
    Html
    Set

Hint: If it is not a typo, check the "dependencies" and "source-directories" of
your elm.json to make sure all the packages you need are listed there!


Detected problems in 1 module.

with

    "source-directories": [
        "src"
    ],

in elm.json

from jupyter-elm-kernel.

amphitheres avatar amphitheres commented on May 29, 2024

Currently we only support custom dependencies from elm.json, but I don't anticipate any difficulties adding custom build environments too. I'll look in to adding this feature.

from jupyter-elm-kernel.

eimfach avatar eimfach commented on May 29, 2024

What do you mean with 'custom build environments' ?

from jupyter-elm-kernel.

eimfach avatar eimfach commented on May 29, 2024

Yes it works ! Thanks, nicely done, awesome :)

from jupyter-elm-kernel.

Related Issues (20)

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.