"linux-x64-64-glibc exists" error while installing fibers package via Nodejs npm
Forum
  1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and cPanel
  1. Simon Budberg
  2. Sunday, 22 December 2019
  3.  Subscribe via email
I have installed nodejs on my cPanel Cloudlinux server.
I want to install Nuxt.js package which the "fibers" is it's dependency.
When the NPM reaches to install this package, it returns error:


> [email protected] install /home/mydomain/nodevenv/nuxt/10/lib/node_modules/fibers
> node build.js || nodejs build.js

`linux-x64-64-glibc` exists; testing
Problem with the binary; manual build incoming
node[7360]: pthread_create: Resource temporarily unavailable
/opt/alt/alt-nodejs10/root/usr/lib/node_modules/npm/node_modules.bundled/npm-lifecycle/node-gyp-bin/node-gyp: line 6: 7360 Aborted (core dumped) "$npm_config_node_gyp" "[email protected]"
node-gyp exited with code: 134
Please make sure you are using a supported platform and node version. If you
would like to compile fibers on this machine please make sure you have setup your
build environment--
Windows + OS X instructions here: https://github.com/nodejs/node-gyp
Ubuntu users please run: `sudo apt-get install g++ build-essential`
RHEL users please run: `yum install gcc-c++` and `yum groupinstall 'Development Tools'`
Alpine users please run: `sudo apk add python make g++`
sh: nodejs: command not found
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/watchpack/node_modules/fsevents/node_modules/node-pre-gyp):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: EMFILE: too many open files, open '/opt/alt/alt-nodejs10/root/usr/lib/node_modules/npm/node_modules.bundled/pacote/lib/fetchers/version.js'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/watchpack/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! [email protected] install: `node build.js || nodejs build.js`
npm ERR! spawn ENOENT
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/mydomain/.npm/_logs/2019-12-22T08_39_07_720Z-debug.log


I also tried to install fibers Individually by running "npm install fibers", but it returns the same error.

So what's the problem and what should I do ?
Regards
Rate this post:
  1. 23.12.2019 08:12:29
  2. # 1
Sergey Khristich Accepted Answer
Posts: 354
Joined: 20.05.2019
0
Votes
Undo
Hello Simon,
Thank you for reaching out! Can you open a support ticket https://cloudlinux.zendesk.com/hc/en-us/requests/new so we can take a closer look at your system? You can post the ticket number here and we'll link this thread to it.
Thank you.
Marketing Manager
  1. 30.12.2019 02:12:46
  2. # 2
Prashant Accepted Answer
Posts: 0
Joined: 03.06.2020
0
Votes
Undo
Hi Simon, Did you got an workaround I am also facing same issue.
  1. 30.12.2019 07:12:43
  2. # 3
Simon Budberg Accepted Answer
Posts: 2
Joined: 22.12.2019
0
Votes
Undo
Hi Simon, Did you got an workaround I am also facing same issue.


I found that wen I run commands as root, no problem appears, for example:


[[email protected] ~]# source /home/username/nodevenv/myapp/10/bin/activate && cd /home/username/myapp
[[email protected] myapp]# npm install fibers
successfully installed


but when I run command as user, the above problem appears:


[[email protected] ~]# source /home/username/nodevenv/myapp/10/bin/activate && cd /home/username/myapp
[[email protected] myapp]# npm install fibers
failed


If you faced problem again with root, run these commands as root and test:


[[email protected] ~]# yum install -y gcc-c++ make
[[email protected] ~]# yum groupinstall "Development Tools"
[[email protected] ~]# yum claen all
[[email protected] ~]# yum makecache
  1. 30.12.2019 10:12:16
  2. # 4
Sergey Khristich Accepted Answer
Posts: 354
Joined: 20.05.2019
0
Votes
Undo
Hello Simon,
Thanks for following up!
If you have any other questions, feel free to ask here.
Marketing Manager
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.