Closed fenyuluoshang closed 3 years ago
I have the same problem.
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:
> 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: 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: 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
I also tried to install fibers Individually by running npm install fibers
, but it returns the same error (linux-x64-64-glibc exists; testing
).
My OS: CloudLinux 7.7 (centos-7.5-x86_64) Nodejs version: 10.17.0 NPM version: 6.11.3
So what's the problem and what should I do ? Regards
Maybe you need update and rebuild the gcc package, yum only have the old version of gcc
Same problem here!
I am using 'flightplan' for deploy my project and its use 'fiber' as dependency.
416 xxxxxxxxxxxxxxxx > > node build.js || nodejs build.js
417 xxxxxxxxxxxxxxxx >
418 xxxxxxxxxxxxxxxx >
419 xxxxxxxxxxxxxxxx >
420 xxxxxxxxxxxxxxxx ● failed (1)
421 ● Command exited abnormally on xxxxxxxxxxxxxxxx
422 npm ERR! code ELIFECYCLE
423 npm ERR! errno 1
424 npm ERR! project@1.0.0 deploy: `fly deploy`
425 npm ERR! Exit status 1
426 npm ERR!
427 npm ERR! Failed at the project@1.0.0 deploy script.
428 npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
429 npm ERR! A complete log of this run can be found in:
430 npm ERR! /root/.npm/_logs/2019-12-25T15_52_56_952Z-debug.log
431 ERROR: Job failed: exit code 1```
Ditto - same problem using Nuxt and trying to do a production deployment on Centos. I tried downgrading from node 10.17.x to other node versions with no luck.
I have use CenterOS to publish a Nuxt Project ,and I have use vuetify in it,It has throw Error when yarn use node-gyp
my server system version is
and I have try to upgrate my python version to 2.7.15, and build a gcc -6.1.0, and make a link with system
What should I try again