Comments (5)
It should work as advertised. I suppose one thing I don't mention is that you can't just load the html of an example directly into a browser - you have to host it on some web server. I use Apache on linux. I find the simplest thing to do is to place a symbolic link to my overall elm development directory inside /var/www, browse to localhost and then just drill down to the html I want to load.
Is this the problem?
from elm-webmidi-ports.
Here's what happens when I try to compile the examples:
[rofer@laptop-2017 examples]$ ./compilep.sh
I cannot find module 'SoundFont.Ports'.Module 'Piano' is trying to import it.
Potential problems could be:
- Misspelled the module name
- Need to add a source directory or new dependency to elm-package.json
A similar thing happens with compilep.sh
I've got a fresh installation of elm 0.18.0 and I already compiled the main project with compile.sh. Is there something I'm missing?
from elm-webmidi-ports.
Ah - I see the problem. I had included SoundFont in examples/src but had excluded it in .gitignore. I guess I must have found the necessity of copying the code distasteful. I think I was waiting (in vain) for a resolution of the problem of not being allowed to publish packages with native dependencies.
Can you try it again? Sorry for the pain.
from elm-webmidi-ports.
That fixed it, thanks!
There might be an even clear solution with a Git submodules, but I'm not sure. Either ways I'll close this.
from elm-webmidi-ports.
Many thanks. Yes, I remember briefly considering Git submodules - these would work, I think. My main issue was that I wanted to publish a general MIDI library but couldn't - I had to split it up into publishable and unpublishable parts.
from elm-webmidi-ports.
Related Issues (7)
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 elm-webmidi-ports.