Meteor Node Fibers Error
-
And when you try to install...
# npm install fibers / > [email protected] install /opt/Rocket.Chat/node_modules/fibers > node build.js || nodejs build.js sh: node: command not found sh: nodejs: command not found npm ERR! [email protected] install: `node build.js || nodejs build.js` npm ERR! Exit status 127 npm ERR! npm ERR! Failed at the [email protected] install script. npm ERR! This is most likely a problem with the fibers package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node build.js || nodejs build.js npm ERR! You can get their info via: npm ERR! npm owner ls fibers npm ERR! There is likely additional logging output above. npm ERR! System Linux 3.10.0-327.4.5.el7.x86_64 npm ERR! command "/root/.nvm/v0.10.40/bin/node" "/root/.nvm/v0.10.40/bin/npm" "install" "fibers" npm ERR! cwd /opt/Rocket.Chat/server npm ERR! node -v v0.10.40 npm ERR! npm -v 1.4.28 npm ERR! code ELIFECYCLE npm ERR! not ok code 0
-
I had this issue, I tried again and it worked.....
-
@anonymous said:
I had this issue, I tried again and it worked.....
I did it once and it worked. The second time, it failed. That's not encouraging at all. Sounds like maybe there is an issue on the server side? I'm concerned about stability here.
You did a FULL install from scratch or just from partway through?
-
@scottalanmiller said:
You did a FULL install from scratch or just from partway through?
FULL. New VM and Everything.
-
@anonymous That's what I was afraid of.
-
I bet Ubuntu would be just fine.....
-
@anonymous said:
I bet Ubuntu would be just fine.....
Ubuntu doesn't even support Mongo (or vice versa) so not likely. I tried Ubuntu and it didn't even get close.
-
Of FreeBSD, Ubuntu and CentOS, CentOS is the only one that I got working. But only one out of two times, thus far.
-
Okay, so the fibers issue is related to it not liking the NVM installation of Node.
So on CentOS 7, the secret is to install the epe-release, then install nodejs. This installs Node v0.10.36, which is not what anyone wants. But once that is installed, you can go back to using NVM and a modern Node release and fibers is able to install!
So...
yum -y install epel-release yum -y install nodejs npm install fibers
Ta da
-
This post is deleted!