-
Notifications
You must be signed in to change notification settings - Fork 280
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
Jenkins & dredd. npm ERR! Failed at the protagonist@0.8.0 install script #64
Comments
The complete console output:
make: Entering directory npm ERR! System Linux 3.5.0-47-generic |
Thanks for the report, can you be more specific about Jenkins's environment? Especially which C++ parser do you use.
|
I am also experiencing errors with this on OS X 10.10, here is my console output:
nothing is outputted for $CC but I do get the same output w/r/t protagonist/node-gyp as shown above:
Should I reach out here as well? https://github.com/apiaryio/protagonist/issues |
@OrCharles thanks a lot for the report and I'm sorry about any inconvenience. I think this is more likely a Protagonist related issue, so report it there, please. Protagonist is a wrapper around Snowcrash API Blueprint parser, so you can try to install Snowcrash directly on osx: $ brew install --HEAD \
https://raw.github.com/apiaryio/snowcrash/master/tools/homebrew/snowcrash.rb If this will fail, it's definitely a problem with installation of Protagonist. Btw: my osx system outputs this: $ echo $CC
gcc-4.2 Maybe figure this out and it will work. |
i can not not sure why, etc., just reporting my findings |
This issue is due to installing dredd with NPM on NodeJS v0.12. I experienced it before, the current release of dredd requires NodeJS v0.10 due to depending on an older protagonist that doesn't work on NodeJS v0.12. TL;DR: dredd 0.5.0 will require NodeJS v0.10 instead of v0.12 (latest). |
Dredd supports node v0.10, node v0.12 and io.js as well for some time already. Closing this one, please reopen or submit new issue if you'll experience any further inconvenience regarding this. |
For what it's worth we just had this issue. We ended up needing to update gcc on our Jenkins server. |
@HansHauge I believe it's a different issue. Recent changes cause that to be able to install newer Dredd, one will need a C++ compiler able to compile C++11. In the future we will eventually migrate to js-only parser by default and no compiler will be needed, but as of now, this change is needed in order to make Dredd work with your CI (especially Travis CI config files need changes - see e.g. apiaryio/dredd-hooks-python#19). Details on why all this: https://github.com/apiaryio/protagonist/blob/master/CHANGELOG.md#breaking |
I'm trying to integrate dredd apiary tests into Jenkins. I followed these steps to install NodeJS, npm and dredd on Jenkins (on Linux):
https://wiki.jenkins-ci.org/display/JENKINS/NodeJS+Plugin
While running the test I got this ERR message:
npm ERR! Failed at the protagonist@0.8.0 install script.
npm ERR! This is most likely a problem with the protagonist package,
npm ERR! not with npm itself....
Do you know this problem? Is there a solution for it? Thank you.
The text was updated successfully, but these errors were encountered: