question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Npm install not working on ubuntu 16.04 stuck at make: Leaving directory

See original GitHub issue

When trying to install the package on the deployment server running ubuntu 16.04 it is getting stuck at make: Leaving directory '/var/www/html/laravel/app/node/node_modules/s2geometry-node/build' gyp info ok. Quiting the process and trying to run the code results into Error: Could not locate the bindings file.

Installling the package on my local osx development machine works fine.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
xakirucommented, Aug 8, 2016

I got an other issue now when trying to run example.js:

node example.js

/home/pokego/node_modules/pokemon-go-node-api/node_modules/node-pogo-signature/lib/U6Encrypt.js:10 sub_fnc1(buffer, data) ^ SyntaxError: Unexpected token ( at Module._compile (module.js:439:25) at Object.Module._extensions…js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.require (module.js:364:17) at require (module.js:380:17) at Object.<anonymous> (/home/pokego/node_modules/pokemon-go-node-api/node_modules/node-pogo-signature/lib/utils.js:5:21) at Module._compile (module.js:456:26) at Object.Module._extensions…js (module.js:474:10) at Module.load (module.js:356:32)

1reaction
xakirucommented, Aug 8, 2016

Try this : npm install git+https://github.com/Armax/Pokemon-GO-node-api.git

Read more comments on GitHub >

github_iconTop Results From Across the Web

npm install hangs - node.js - Stack Overflow
I just turn off my windows firewall and it worked for me. You can also try different versions of npm.
Read more >
[BUG] npm install will randomly hang forever and cannot be ...
When running npm install it will sometimes hang at a random point. When it does this, it is stuck forever. CTRL+C will do...
Read more >
NPM is incorrect version on latest Ubuntu (18.04) installation
The way I found is to purge npm through sudo apt purge npm , then simply recreate a symlink to the global installation...
Read more >
Common errors | npm Docs
Broken npm installation · Random errors · No compatible version found · Permissions errors · Error: ENOENT, stat 'C:\Users\<user>\AppData\Roaming\npm' on Windows 7 ...
Read more >
Try Ubuntu before you install it
Getting started. Running Ubuntu directly from either a USB stick or a DVD is a quick and easy way to experience how Ubuntu...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found