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

Aglio can not run with nodejs v4 #172

Closed
cong88 opened this issue Sep 23, 2015 · 6 comments
Closed

Aglio can not run with nodejs v4 #172

cong88 opened this issue Sep 23, 2015 · 6 comments

Comments

@cong88
Copy link

cong88 commented Sep 23, 2015

I upgraded nodejs to v4 and aglio stop working. Can you make it compatible with nodejs v4.

Thanks.

This is my error log:

30787 verbose stack Error: protagonist@0.20.1 install: node-gyp rebuild
30787 verbose stack Exit status 1
30787 verbose stack at EventEmitter. (/usr/lib/node_modules/npm/lib/utils/lifecycle.js:233:16)
30787 verbose stack at emitTwo (events.js:87:13)
30787 verbose stack at EventEmitter.emit (events.js:172:7)
30787 verbose stack at ChildProcess. (/usr/lib/node_modules/npm/lib/utils/spawn.js:24:14)
30787 verbose stack at emitTwo (events.js:87:13)
30787 verbose stack at ChildProcess.emit (events.js:172:7)
30787 verbose stack at maybeClose (internal/child_process.js:817:16)
30787 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
30788 verbose pkgid protagonist@0.20.1
30789 verbose cwd /var/log
30790 error Linux 3.13.0-32-generic
30791 error argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "aglio" "-g"
30792 error node v4.1.0
30793 error npm v3.3.4
30794 error code ELIFECYCLE
30795 error protagonist@0.20.1 install: node-gyp rebuild
30795 error Exit status 1
30796 error Failed at the protagonist@0.20.1 install script 'node-gyp rebuild'.
30796 error This is most likely a problem with the protagonist package,
30796 error not with npm itself.
30796 error Tell the author that this fails on your system:
30796 error node-gyp rebuild
30796 error You can get their info via:
30796 error npm owner ls protagonist
30796 error There is likely additional logging output above.
30797 verbose exit [ 1, true ]

@jmdacruz
Copy link

This is actually a problem in protagonist (which is part of apiary, not aglio), as pointed out in apiaryio/protagonist#91 and in apiaryio/protagonist#81

@kentchiu
Copy link

downgrade node version to 0.12.7 works for me

@cong88
Copy link
Author

cong88 commented Sep 23, 2015

Thanks guys. need to wait change of protagonist

@cong88 cong88 closed this as completed Sep 23, 2015
danielgtaylor referenced this issue in apiaryio/drafter Oct 12, 2015
@ghost
Copy link

ghost commented Oct 24, 2015

@cong88 "Protagonist 1.1.0 now supports Node 3 and Node 4."
https://github.com/apiaryio/protagonist/releases/tag/1.1.0
You can open this issue again

@kylef
Copy link
Collaborator

kylef commented Oct 25, 2015

@humanjack Aglio master already pins to ^1.0.0 of protagonist so Aglio (master) will already work with this version of Protagonist.

@danielgtaylor
Copy link
Owner

@cong88 @humanjack @jmdacruz @kentchiu @kadishmal Aglio 2.2.0 now supports Node.js 4.x, so please give it another try!

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

No branches or pull requests

5 participants