-
Notifications
You must be signed in to change notification settings - Fork 10.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After Installing 0.62.* the chat server stops working with "Cannot find module './lib/less-node'" #10140
Comments
@guidowojke I wasn't able to reproduce your issue, can you remove all files related to Rocket.Chat and try again from scratch? |
@rodrigok I just received exactly the same issue on a CentOS 6.4 32-bit box. |
Am also experiencing this on a Debian Stretch box. UPDATE: See comment below with our current experimentation on finding workarounds for this and related issues.
|
We are experimenting with building our own custom Docker image to run k8s and this was our workaround to get the current develop branch to build and run as a Docker image. This, for us, fixes the less not found issue (and once you fix the less not found issue you may have the same thing with cas, and this includes a fix for that). There are "fixes" (uh, more like workarounds) for other obnoxious build/packaging related items, so keep that in mind. Namely that node v8.10+ is broken and sharp native libs don't get rebuilt for real with npm rebuild. Yes, there are somethings we are doing here that are kind of odd, there are changes we should make for production, this is an experimental Dockerfile, so use it at your own risk and no need to point out the shortcomings, just trying to focus on how to get a build pipeline up and running from the current develop branch/0.63.0 rcs to k8s. Doing the build in the Dockerfile was something we eventually succumbed to as meteor npm rebuild really just wasn't rebuilding libs and having all kinds of shitty problems with that. This process is making me hate Meteor even more than I already did. I hope one day Rocket.Chat can leave Meteor behind, it seems to be at the core of all the problems I have with Rocket.Chat, and a build takes 30 minutes on a quad core i7 with 16GB RAM. Oy.
|
Should no longer be an issue. Many have installed on centos since with no issue. Please feel free to reopen if you still have this particular issue |
Description:
After following the installation instructions on
http://rocketchat.github.io/docs/installation/manual-installation/ubuntu/#install
with a chat version greater or equals version 0.62.0 the server did not start.
Server Setup Information:
Steps to Reproduce:
Expected behavior:
Chat server can start. Older versions < 0.62.0 are running fine.
Actual behavior:
The following error occurs during the startup and the chat server did not run (full log in relevant logs section).
Relevant logs:
rocketchat.log:
The text was updated successfully, but these errors were encountered: