NodeBB Installation Windows Server 2012 ( Other Question )

General Discussion
  • Hi guys.
    Sorry for my many post.
    Now i have Dedicated Server with Windows Server 2012.
    I followed this guide.
    https://github.com/NodeBB/nodebb-english//blob/master/installing/os/windows8.rst

    But i have error when i write npm install

    Solution : Install Visual Studio 2013.


    ERROR :
    C:\Users\Administrator\nodebb [v0.6.x]> npm install
    /

    .> [email protected] install C:\Users\Administrator\nodebb\node_modules\heapdump
    .> node-gyp rebuild

    C:\Users\Administrator\nodebb\node_modules\heapdump>node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\..
    ..\node_modules\node-gyp\bin\node-gyp.js" rebuild
    Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
    MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe". To fix this, 1) install the .NET Framew
    ork 2.0 SDK, 2) install Microsoft Visual Studio 2005 or 3) add the location of the component to the system path if it i
    s installed elsewhere. [C:\Users\Administrator\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:2
    67: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.2.9200
    gyp ERR! command "node" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuil
    d"
    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
    /

    .> [email protected] install C:\Users\Administrator\nodebb\node_modules\socket.io\node_modules\engine.io\node_modules\ws
    .> (node-gyp rebuild 2> builderror.log) || (exit 0)

    C:\Users\Administrator\nodebb\node_modules\socket.io\node_modules\engine.io\node_modules\ws>node "C:\Program Files\nodej
    s\node_modules\npm\bin\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild
    Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
    MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe". To fix this, 1) install the .NET Framew
    ork 2.0 SDK, 2) install Microsoft Visual Studio 2005 or 3) add the location of the component to the system path if it i
    s installed elsewhere. [C:\Users\Administrator\nodebb\node_modules\socket.io\node_modules\engine.io\node_modules\ws\bu
    ild\binding.sln]
    MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe". To fix this, 1) install the .NET Framew
    ork 2.0 SDK, 2) install Microsoft Visual Studio 2005 or 3) add the location of the component to the system path if it i
    s installed elsewhere. [C:\Users\Administrator\nodebb\node_modules\socket.io\node_modules\engine.io\node_modules\ws\bu
    ild\binding.sln]

    .> [email protected] install C:\Users\Administrator\nodebb\node_modules\socket.io-client\node_modules\engine.io-client\node_modul
    es\ws
    .> (node-gyp rebuild 2> builderror.log) || (exit 0)

    C:\Users\Administrator\nodebb\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws>node "C:\Progr
    am Files\nodejs\node_modules\npm\bin\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild
    Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
    MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe". To fix this, 1) install the .NET Framew
    ork 2.0 SDK, 2) install Microsoft Visual Studio 2005 or 3) add the location of the component to the system path if it i
    s installed elsewhere. [C:\Users\Administrator\nodebb\node_modules\socket.io-client\node_modules\engine.io-client\node
    _modules\ws\build\binding.sln]
    MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe". To fix this, 1) install the .NET Framew
    ork 2.0 SDK, 2) install Microsoft Visual Studio 2005 or 3) add the location of the component to the system path if it i
    s installed elsewhere. [C:\Users\Administrator\nodebb\node_modules\socket.io-client\node_modules\engine.io-client\node
    _modules\ws\build\binding.sln]

    .> [email protected] install C:\Users\Administrator\nodebb\node_modules\reds\node_modules\redis\node_modules\hiredis
    .> node-gyp rebuild

    C:\Users\Administrator\nodebb\node_modules\reds\node_modules\redis\node_modules\hiredis>node "C:\Program Files\nodejs\no
    de_modules\npm\bin\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild
    Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
    MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe". To fix this, 1) install the .NET Framew
    ork 2.0 SDK, 2) install Microsoft Visual Studio 2005 or 3) add the location of the component to the system path if it i
    s installed elsewhere. [C:\Users\Administrator\nodebb\node_modules\reds\node_modules\redis\node_modules\hiredis\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:2
    67: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.2.9200
    gyp ERR! command "node" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuil
    d"
    gyp ERR! cwd C:\Users\Administrator\nodebb\node_modules\reds\node_modules\redis\node_modules\hiredis
    gyp ERR! node -v v0.10.35
    gyp ERR! node-gyp -v v1.0.1
    gyp ERR! not ok
    npm WARN optional dep failed, continuing [email protected]
    npm 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.2.9200
    npm ERR! command "C:\Program Files\nodejs\\node.exe" "C:\Program Files\nodejs\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 0

  • @Master-Antonio How do I add my Domain in Nodebb?

  • @Master-Antonio add your domain in the config.json file which sits in the NodeBB main directory.

  • @pitaj said:

    @Master-Antonio add your domain in the config.json file which sits in the NodeBB main directory.

    Did, but don't work.


Suggested Topics


| | | |