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

Install fails in restricted network environment (proxied npm registry) #83

Closed
lukateake opened this Issue Oct 5, 2016 · 4 comments

Comments

Projects
None yet
2 participants
@lukateake

lukateake commented Oct 5, 2016

Cannot install gavel (as a dependency of dredd) because the jsonlint dependency:
https://github.com/apiaryio/gavel.js/blob/master/package.json#L33

Please see this NPM post on how to ameliorate this issue:
http://blog.npmjs.org/post/145724408060/dealing-with-problematic-dependencies-in-a

It’s usually a good idea to open an issue on the project with the Git dependency, politely asking the maintainers to replace the Git dependency, if possible. Generally, we discourage using Git dependencies in package.json, and it’s typically only used temporarily while a maintainer waits for an upstream fix to be applied and published.

@honzajavorek

This comment has been minimized.

Member

honzajavorek commented Oct 6, 2016

@lukateake Thanks for raising this issue. I didn't realise this can be a problem for someone. Just for the record, the dependency isn't taken from npm due to following issues:

I'm open to any suggestions on how to solve this, as well as accepting contributions (replacing the jsonlint library with something else, etc.).

@honzajavorek

This comment has been minimized.

Member

honzajavorek commented Apr 13, 2017

Unfortunately, the attempt to replace jsonlint with parse-json was unsuccessful: #85 (comment) Alternative suggestions are welcome.

honzajavorek added a commit that referenced this issue Apr 24, 2017

honzajavorek added a commit that referenced this issue Apr 24, 2017

@honzajavorek

This comment has been minimized.

Member

honzajavorek commented Apr 24, 2017

I contacted @josdejong and kindly asked him to publish the fork as a package.

@honzajavorek

This comment has been minimized.

Member

honzajavorek commented Dec 10, 2018

This has been just fixed by #109! 👏 All praise goes to @abacaphiliac

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment