Installation Fails ./nodebb setup on Ubunu 18.04 Google Cloud

Technical Support
  • #1

    When I run ./nodebb setup it runs into following error:

    ber of issues. Please, upgrade your dependencies to the actual version of [email protected]
    npm ERR! code 128
    npm ERR! Command failed: git clone --mirror -q git:// /root/.npm/_cacache/tmp/git-clone-2a6675ab/.git
    npm ERR! fatal: could not create leading directories of '/root/.npm/_cacache/tmp/git-clone-2a6675ab/.git'
    npm ERR!

    npm ERR! A complete log of this run can be found in:
    npm ERR! /root/.npm/_logs/2020-03-23T17_30_52_712Z-debug.log
    Error installing dependencies!
    message: Command failed: npm install --production
    stdout: null
    stderr: null
    throw e;

    Error: Command failed: npm install --production


  • NodeBB

    Does it work if you change bootswatch to "bootswatch": "^3.4.x", in package.json?

  • Global Moderator Plugin & Theme Dev

    Looks like you're using root to run the npm command. It is highly recommended to NOT install or run NodeBB as a privileged user.

  • #4

    @PitaJ thanks! That was the issue

Suggested Topics

| | | |