@fortunato I forgot to say that this error doesn't show up when creating a new topic and sometimes it works also in replies. The error in the NodeBB UI is the following: "stream ended unexpectedly"
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:
Couldn'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)
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@example.com No repository field.
npm WARN package.json firstname.lastname@example.org No repository field.
email@example.com install C:\Users\Administrator\nodebb\node_modules\heapdump
C:\Users\Administrator\nodebb\node_modules\heapdump>node "C:\Program Files\nodej
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:
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
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
gyp ERR! stack at ChildProcess.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:820:
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "C:\Program Files\nodejs\node_modules\npm\node_modu
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 ok
npm ERR! firstname.lastname@example.org install:
npm ERR! Exit status 1
npm ERR! Failed at the email@example.com 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
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 0
@Hectopascal See if it already exists one similar post on FORUM , thank. No that create other.
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?
what version of node do you have installed?
dowloaded today. So it's the latest version: v0.10.35.
Update: x64! Could be usefull to know...
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