Installation Fails ./nodebb setup on Ubunu 18.04 Google Cloud



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

    ber of issues. Please, upgrade your dependencies to the actual version of core-js@3.
    npm ERR! code 128
    npm ERR! Command failed: git clone --mirror -q git://github.com/thomaspark/bootswatch.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
    /home/samuel_schmid/nodebb/src/cli/package-install.js:52
    throw e;
    ^

    Error: Command failed: npm install --production

    Banners_and_Alerts_and_root_instance-1___home_samuel_schmid_nodebb_and_Slack___swiss-only___Modeso.png

  • Admin Staff

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

  • Global Moderator

    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.


  • @PitaJ thanks! That was the issue

Log in to reply
 

Suggested Topics

  • 2
  • 3
  • 3
  • 10
  • 1
| |