I have installed nodejs on my cPanel Cloudlinux server.
I want to install Nuxt.js package which the "fibers" is its dependency.
When the NPM reaches to install this package, it returns error:
I also tried to install fibers Individually by running "npm install fibers", but it returns the same error.
So whats the problem and what should I do ?
Regards
I want to install Nuxt.js package which the "fibers" is its dependency.
When the NPM reaches to install this package, it returns error:
Code:
> fibers@4.0.2 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" "$@" 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: [URL]https://github.com/nodejs/node-gyp[/URL] 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: node-pre-gyp@0.14.0 (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: fsevents@1.2.11 (node_modules/watchpack/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.11: 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! fibers@4.0.2 install: `node build.js || nodejs build.js` npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the fibers@4.0.2 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
So whats the problem and what should I do ?
Regards
Comment