Elm Native UI is not in the Elm Package index, meaning it has to be installed by
hand (done automatically in bin/setup
):
bin/sync-elm-native-ui
The script will do one of three things:
- If you have a symlinked Elm Native UI dependency (because you are working on the Elm Native UI library), it will do nothing.
- If you don't have the dependency it will clone it to the appropriate directory.
- If you have the dependency, it will update the dependency to the version
specified in
.elm-native-ui-version
.
Since the elm-package.json
and elm-stuff/exact-dependencies.json
both
include packages that are not in the Elm Package index, you have to do some
juggling to install new packages that are in the index (otherwise it complains
about "corrupt" packages).
- Delete the
elm-native-ui
package (and any other self published packages) fromelm-package.json
andelm-stuff/exact-dependencies.json
. - Run
elm-package install
- Re-add the deleted lines to both files.