Best solution to this npm issue is;
sudo npm config set ca ""
sudo npm config set strict-ssl false sudo npm update npm -g sudo npm config set strict-ssl true
all should work normally after that.
Hey people, I am extremely new to node.js, NodeBB & dokku but I've been trying to set up a nodeBB forum on my dokku image on digital ocean and although I have set up redis to work with the app when I run --setup it fails to connect to it, anyone else using a setup like this and any pointers for getting it working. The error I get is this;
error: Redis connection to [IP ADDRESS] failed - connect ECONNREFUSED
I have redis setup and dokku has linked the container to my forum container, I pass the correct IP & port during setup but the connection fails, I'm at a bit of a loss.
Ok here is the email they just fired back.
We do not have plans that I am aware of for this image but I would recommend that the devs contact us at firstname.lastname@example.org to see if we can put something together.
That would give serious issues if you had two posts with the same title.
If it's a standard ubuntu 12.04 droplet from Digital ocean you probably don't have a web server installed yet, install a current version of nginx (not from the standard ubuntu repository) and set it up to reverse proxy your nodebb app to port 80. there are plenty of good guides on this on the digital ocean support pages.
This isn't for nodeBB, it's another project, but with nodeBB you could still use forever to monitor the nodeBB launcher for redundancy.
Is there a decent alternative to forever that will watch for file changes since the lack of documentation with forever is more than a little annoying.
I've been trying to set up forever to monitor a nodejs project and to restart when I update files but I've been running into issues. I need forvere to ignore some files and I noticed a couple of references to a .foreverignore file you can use to do this but have found no documentation about it's syntax or how to use it. Anyone have any experience with this or can you offer a good alternative?