Closed MBing closed 7 years ago
Try elm-package install elm-lang/svg
.
When checking the Svg package use here I see that Svg is built on elm-lang/virtual-dom.
This means that elm-lang/svg internally uses elm-lang/virtual-dom.
Thank you @jinjor This worked. Next time I guess I have to check the path and that will show me what to install. I was a bit confused by the docs.
Path being elm-lang/svg (/2.0.0)
All makes sense now.
Closing this and thanks for the very quick response!
Great work on Elm and all the tools and documentation, it's really well done and pushing functional programming on the frontend in a great way forward. Unfortunately since I am just starting I ran into a problem while trying an online example locally.
When trying to run this example: https://guide.elm-lang.org/architecture/effects/time.html
I ran the
elm-package install
command and it gave me back theelm-stuff
dir &elm-package.json
file which looks like this:When checking the Svg package use here I see that Svg is built on
elm-lang/virtual-dom
. So I assume this should be added as a dependency as well after runningelm-package install
. When runningelm-reactor
and going to mylocalhost:8000
I get the following error:I have tried to update the
elm-package.json
to (which also did not resolve the issue):My question here is, what am I doing wrong and what can I do to fix this? Thank you! :)