Install nodeBB on Windows Server
-
Hi there,
I'm trying to install nodeBB on a Windows Home Server 2011.
My Docu source: https://docs.nodebb.org/en/latest/installing/os/windows8.html
I downloaded and installed all installation packages. First surprise was a error message at step:Install dependencies:
npm installCouldn't find vcbuild.exe.
Sure it isn't installed. So I did that with the Microsoft .NET Framework SDK (Software Development Kit) 2.0 (x86)
Tryed again. No sucess. Ok, read during debugging something about env. path... set the path.
Wohoo, one step forward.
D' oh. next error!
So and this is the part where you coming into the game. I have no Idea how to solve this problem.-> Starting Git Shell (If you need translation, let me know)
Windows PowerShell
Copyright (C) 2009 Microsoft Corporation. Alle Rechte vorbehalten.C:\Users\Administrator> cd nodebb
C:\Users\Administrator\nodebb [v0.6.x]> npm install
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No repository field.
\[email protected] install C:\Users\Administrator\nodebb\node_modules\heapdump
node-gyp rebuildC:\Users\Administrator\nodebb\node_modules\heapdump>node "C:\Program Files\nodej
s\node_modules\npm\bin\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js
" rebuild
Die Projekte in dieser Projektmappe werden nacheinander erstellt. Um eine parall
ele Erstellung zu ermöglichen, müssen Sie den Schalter "/m" hinzufügen.
Folgender XML-Parserfehler ist aufgetreten:Datei: C:\Users\Administrator\nodebb\node_modules\heapdump\build\addon.vcproj
Zeile: 1
Spalte: 4717
Fehlermeldung:
Systemfehler: -2147154687.Die Datei "C:\Users\Administrator\nodebb\node_modules\heapdump\build\addon.vc
proj" konnte nicht geladen werden.
MSBUILD : error MSB6006: "VCBuild.exe" wurde mit Code -1 beendet. [C:\Users\Adm
inistrator\nodebb\node_modules\heapdump\build\binding.sln]
gyp ERR! build error
gyp ERR! stack Error:msbuild
failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules
npm\node_modules\node-gyp\lib\build.js:267:23)
gyp ERR! stack at ChildProcess.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:820:
12)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "C:\Program Files\nodejs\node_modules\npm\node_modu
les\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\Administrator\nodebb\node_modules\heapdump
gyp ERR! node -v v0.10.35
gyp ERR! node-gyp -v v1.0.1
gyp ERR! not oknpm ERR! [email protected] install:
node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the heapdump package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls heapdump
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\Program Files\nodejs\\node.exe" "C:\Program Files\nod
ejs\node_modules\npm\bin\npm-cli.js" "install"
npm ERR! cwd C:\Users\Administrator\nodebb
npm ERR! node -v v0.10.35
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm ERR! not ok code 0Regards,
Hecto -
@Hectopascal See if it already exists one similar post on FORUM , thank. No that create other.
https://community.nodebb.org/topic/3633/nodebb-installation-windows-server-2012-other-question -
@Master-Antonio
Thanks for your hint. I read it before. This discribes my first problem.
I solved it by my own. Now I have a new problem.
Your installation went fine, after installing VS 2012? What about VCBuild.exe?
This exe has a new name under VS 2012...No ploblems with that? -
Hi Julian,
dowloaded today. So it's the latest version: v0.10.35.
Update: x64! Could be usefull to know... -
@Hectopascal
I wrote Visual Studio 2013 no 2012.
I haven't problem with this. -
OK, I'll try it with VS2013 Express.
Maybe it's something with x86 / x64 incompability. -
@Hectopascal I had issues when i first installed, I had to find some visual studio thing that I had to install but I cannot remember what it is. I will check when i go home.
-
@Scuzz Thank you for your support. Nice to know that at least one want's to help.
-> Microsoft .NET Framework SDK (Software Development Kit) 2.0 (x86) uninstalled
-> Node (x86) uninstalled
-> Node (x64) reinstalled
-> VisualStudio 2013 Express installed=> Forum runs!
@julian It would be usefull to write this info to: https://docs.nodebb.org/en/latest/installing/os/windows8.html
-
I dont have visual studio installed. So i think i may have installed something else. I have a lot of Microsoft visual C++ redistributable installed. 2008, 2010 and 2012. I think i can remember installing one of those to get it working. It could even be the 2005 version.
I hope that helps, but it looks like you have it working
-
Thank you for your support