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

"npm run build-jq" fails when building Aleph #97

Closed
robertsdotpm opened this issue Nov 25, 2016 · 3 comments
Closed

"npm run build-jq" fails when building Aleph #97

robertsdotpm opened this issue Nov 25, 2016 · 3 comments

Comments

@robertsdotpm
Copy link

Hello, I'm trying to build Aleph on version 6.9.1 of Node on Ubuntu 16.04.1 LTS with release 1.2.1 of Aleph but it fails with the follow error:

[email protected] build-jq /usr/lib/node_modules/aleph
node scripts/build-jq.js

building jq...
err { Error: ./configure --disable-maintainer-mode && make && cp ./jq /usr/lib/node_modules/aleph/node_modules/.bin/jq
Command failed: cp ./jq /usr/lib/node_modules/aleph/node_modules/.bin/jq
cp: cannot create regular file '/usr/lib/node_modules/aleph/node_modules/.bin/jq': Permission denied

at ChildProcess.exithandler (child_process.js:206:12)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:877:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)

killed: false,
code: 1,
signal: null,
cmd: 'cp ./jq /usr/lib/node_modules/aleph/node_modules/.bin/jq' }

npm ERR! Linux 4.4.0-47-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "build-jq"
npm ERR! node v6.9.1
npm ERR! npm v3.10.8
npm ERR! code ELIFECYCLE
npm ERR! [email protected] build-jq: node scripts/build-jq.js
npm ERR! Exit status 1

This also fails as root. Any ideas?

@yusefnapora
Copy link
Contributor

Thanks for reporting this; I was just able to reproduce on a 16.04 VM. I should hopefully have a fix soon and we'll publish a new point release.

@yusefnapora
Copy link
Contributor

Hey @robertsdotpm, I just pushed a 1.2.2 release and now I can run npm install -g aleph on my ubuntu 16.04 VM. Hopefully that'll clear it up for you as well. Thanks again!

@robertsdotpm
Copy link
Author

Thanks for the fix. I've tested it again and can confirm that it's all working for me 👍

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

2 participants