-
Notifications
You must be signed in to change notification settings - Fork 6
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
npm install fails to find protagonist #26
Comments
Protagonist should be an optional dependency (https://github.com/apiaryio/drafter-npm/blob/master/package.json#L26). It's the C++ version of our API Blueprint parser, if it isn't installable (i.e, because this is a Paw module) then the slower pure JavaScript variant would be chosen at runtime (https://github.com/apiaryio/drafter-npm/blob/master/lib/drafter.js). @JonathanMontane Are you hitting any specific problem here? Failing to install Protagonist is expected, and since it's an optional dependency NPM should continue after failing to install it. You can disable attempting to install the optional dependency with |
@kylef No, I wasn't. I just didn't expect this behavior to be expected ;) I'll see how everything is working without the optional dependencies. Would it be possible for you to make a small update to the readme about this potentially confusing behavior? Thanks! |
Installation setup:
Command run:
Outcome:
Click here to see the full log
Expected outcome:
No errors/warning
The text was updated successfully, but these errors were encountered: