@Julian Thanks for your help.
[FIXED] Cannot install NodeBB on Windows Server 2008 or Windows Server 2012
-
@julian I did not know I needed to have it installed. I'll install it and update this post.
-
I thought i got it running with visual studio express 2012. If it doesnt work try 2013/2008. One of them did the trick for me, can't remember wich of them.
Regards.
-
@jarey I'm installing Visual Studio Community 2015 on my VM at the moment. (Albeit very, very slowly as my internet is complete trash...) If it doesn't work then i'll just have to go about setting up node on our production server, so I don't have to wait on my slow internet.
-
@julian @jarey I did node app.js --setup, it told me I needed the module 'mmmagic'. I then did npm i mmmagic, then I got this;
UPDATE: Read the error and looked at my files. I had a /V140 directory, so I copy & pasted it and renamed it to /V110. Then I got this error (I copy-pasted it into a pastebin, it was too long to get a screenshot.) http://pastebin.com/exfcfBnX
-
@julian @jarey Thanks for your help. After a little piddling I found a solution. I'd really like to see this added to the docs, it would save a lot of people a lot of headaches...
For a successful installation on Windows Server 2008;
Install the following;
(The latest version will not work. It will give you a node-gyp error. This is the only version i've found that works.)
https://github.com/MSOpenTech/redis/releases
Restart your computer and continue installation as per the docs.
EDIT: Everything got setup
-
-
@jinx have you started the redis server? seems that the problem is that it is not running. Check that you have started the redis server because on windows it doesnt start automatically on startup in the default config.
Regards.
-
@jarey I started Redis, even tried restarting then starting it again. I tried using the supplied bat and from the exe directly.
-
@jinx running C:\Program Files (x86)\Redis\StartRedisServer.cmd isthrowing any errors? Do you keep alive the cmd where you run it while executing node app.js --setup?
-
@jarey Keeping the window open did the trick. Does it need to stay open all the time?
-
@jinx the server needs to be running. I suppose that itcan be running in background but didnt tried in windows. In unix systems it runs in background when the machine boots by default.
Glad it helped.
-
@jarey Cannot view the forum from localhost:4567 or 127.0.0.1:4567 EDIT: Fixed. The version of Redis linked in the docs is way too old.
-
@jinx glad to hear you got it working :).
Suggested Topics
-
Solved Try to install nodeBB
Technical Support • • Andreas Knight