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

Can't install #176

Open
FunnyCheese opened this issue Aug 11, 2018 · 10 comments
Open

Can't install #176

FunnyCheese opened this issue Aug 11, 2018 · 10 comments

Comments

@FunnyCheese
Copy link

root@mrcheezezs:~/bot# npm install ursa

ursa@0.9.4 install /root/bot/node_modules/ursa
node-gyp rebuild

gyp ERR! build error
gyp ERR! stack Error: not found: make
gyp ERR! stack at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:13:12)
gyp ERR! stack at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:19)
gyp ERR! stack at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29)
gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16
gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:42:5
gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/mode.js:8:5
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:152:21)
gyp ERR! System Linux 2.6.32-042stab127.2
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /root/bot/node_modules/ursa
gyp ERR! node -v v8.11.3
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm WARN enoent ENOENT: no such file or directory, open '/root/bot/package.json'
npm WARN bot No description
npm WARN bot No repository field.
npm WARN bot No README data
npm WARN bot No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ursa@0.9.4 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ursa@0.9.4 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2018-08-11T16_14_28_620Z-debug.log

@FunnyCheese
Copy link
Author

root@mrcheezezs:~/bot# node -v
v8.11.3

@rzr
Copy link

rzr commented Aug 12, 2018

just install gnu make 1st and try again

@mrgomides
Copy link

mrgomides commented Aug 23, 2018

Hi man.
Try this:

  • Remove ~/.node-gyp
  • Install and set node LTS (v8.11.4)
  • Try to install ursa.

This worked for me

@chrisengelsma
Copy link

This worked for me, thanks

@gitowiec
Copy link

on Ubuntu 18.04 sudo apt-get install build-essential g++ worked for me

@rzr
Copy link

rzr commented Nov 11, 2018

So I guess this bug can or should be closed, or should readme be updated ?

@Norfeldt
Copy link

I'm also having trouble installing it (node v10.14.2) on my mac. Any suggestions?

@hikmawanaz
Copy link

I'm also having trouble installing it (node v10.14.2) on my mac. Any suggestions?

i also have same issue on mac 10.13 with
node -v v10.15.3
do you have any solution?

@rzr
Copy link

rzr commented Mar 14, 2019

may you submit to change to make CI Failing on specific configs ?

@coolaj86
Copy link
Contributor

Unless you're using an older version of node that's supported by ursa you may want to consider using node's built-in RSA support and lightweight JWK<->PEM conversion.

Node v10+ has Native RSA Support now

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

8 participants