Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contract violation on install of local packages #46

Closed
brianeroth opened this issue Sep 26, 2017 · 2 comments
Closed

Contract violation on install of local packages #46

brianeroth opened this issue Sep 26, 2017 · 2 comments
Assignees
Labels

Comments

@brianeroth
Copy link

I'm receiving the following error when trying to install an Elm package that is on my local filesystem using a relative path. Using Ruby 2.4.1 and the latest version of elm-github-install.

Any thoughts?

error: Contract violation for argument 2 of 2:
        Expected: nil,
        Actual: "0.18"
        Value guarded in: ElmInstall::DirectorySource::versions
        With Contract: CollectionOf => CollectionOf
        At: PATH_TO_PROJECT/node_modules/elm-github-install/scripts/dist-1.4.0/elm-install-1.4.0-osx/lib/vendor/ruby/2.2.0/gems/elm_install-1.4.0/lib/elm_install/directory_source.rb:54 . Use --trace to view backtrace
Done
@gdotdesign
Copy link
Owner

This is a bug, I'll try to fix it this week. Thanks for reporting 👍

@gdotdesign gdotdesign added the bug label Sep 26, 2017
@gdotdesign gdotdesign self-assigned this Sep 26, 2017
@gdotdesign
Copy link
Owner

Fixed in v1.6.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants