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

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

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

Comments

@lukateake
Copy link

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
Copy link
Contributor

@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
Copy link
Contributor

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

@honzajavorek
Copy link
Contributor

honzajavorek commented Apr 24, 2017

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

@honzajavorek
Copy link
Contributor

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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants