Comments (7)
@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.
I was able to reproduce the bug and I've made a pull request to address this issue.
from jupyter-elm-kernel.
@eimfach The fix has been merged. Are you still having issues?
from jupyter-elm-kernel.
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.
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.
What do you mean with 'custom build environments' ?
from jupyter-elm-kernel.
Yes it works ! Thanks, nicely done, awesome :)
from jupyter-elm-kernel.
Related Issues (20)
- Support code completion and inspection
- Allow user to customize elm-make command HOT 2
- Get this into pypi
- language mapping not found by Atom's Hydrogen package HOT 2
- Support earlier versions of Python HOT 1
- Basic tests
- Allow to import modules that are not core modules
- SVG example not woking HOT 2
- elm 0.19 compatibility HOT 1
- Notebook failing to connect to kernel HOT 1
- pip package is outdated HOT 1
- Syntax highlighting is missing ... HOT 2
- What's the status of this project? few errors HOT 2
- How do i import Additional modules? HOT 5
- pypi pip install version no option for elm notebook HOT 1
- Better error handling HOT 1
- How to handle multi-cell examples? HOT 3
- Add some examples HOT 1
- elm-repl support HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jupyter-elm-kernel.