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 install ursa on ubuntu #171

Open
MisterBalboa opened this issue Jun 14, 2018 · 5 comments
Open

npm install ursa on ubuntu #171

MisterBalboa opened this issue Jun 14, 2018 · 5 comments

Comments

@MisterBalboa
Copy link

Hello, i am trying to install ursa on ubuntu machine but have a problem.

  • node -v v10.4.1
  • node-gyp -v v3.6.2

I cannot figure out the error from the err stack:

gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:237:12)
gyp ERR! System Linux 4.4.0-1060-aws
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/ubuntu/buze-payments/node_modules/ursa
gyp ERR! node -v v10.4.1
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm WARN [email protected] No repository field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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! /home/ubuntu/.npm/_logs/2018-06-14T21_53_02_279Z-debug.log

Any idea where could be the problem?

@knobik
Copy link

knobik commented Jun 16, 2018

npm rebuild as root helped in my case.

@rzr
Copy link

rzr commented Jul 11, 2018

Please confirm this is reproducible on current master, if not then this bug can be closed once npm package is released.

@rzr
Copy link

rzr commented Nov 21, 2018

Relate-to: #175

@marclijour
Copy link

Same issue on Ubuntu 19.04
node -v v10.15.2
node-gyp -v v3.8.0

$ sudo npm i -g ursa-optional@latest

> [email protected] install /usr/local/lib/node_modules/ursa-optional
> node rebuild.js

ursaNative bindings compilation fail. This is not an issue. Modules that depend on it will use fallbacks.
fs.js:115
    throw err;
    ^

Error: EACCES: permission denied, open './stdout.log'
    at Object.openSync (fs.js:439:3)
    at Object.writeFileSync (fs.js:1190:35)
    at Object.<anonymous> (/usr/local/lib/node_modules/ursa-optional/rebuild.js:13:10)
    at Module._compile (internal/modules/cjs/loader.js:689:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
    at Module.load (internal/modules/cjs/loader.js:599:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
    at Function.Module._load (internal/modules/cjs/loader.js:530:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:742:12)
    at startup (internal/bootstrap/node.js:283:19)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node rebuild.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

@rzr
Copy link

rzr commented Nov 10, 2019

Yes I have this Pending PR try it and comment:
#175

Is this package still maintained ? If not please consider:
https://abandonware.github.io/

Relate-to: abandonware/abandonware.github.io#5

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

4 participants