• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

I can't install NodeBB on Ubuntu

Scheduled Pinned Locked Moved Technical Support
4 Posts 2 Posters 377 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Lotts
    wrote on last edited by
    #1

    I'm trying to install NodeBB for the last 10 hours. I'm a newbie about npm and linux stuff, but I know how to search and how to find answers, but that's my last try because I already tried everything I could.
    I was using Arch Linux and I was a little unhappy with it and then I moved to Ubuntu to test it and because I thought that would be easy like is on NodeBB docs.
    I tried so many things, but I couldn't pass through ./nodebb setup. But I still got this (I already tried to install sharp individually. I already tried to solve this problem by searching on sharp's github page):

    18955 verbose stack Error: [email protected] install: `(node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)`
    18955 verbose stack Exit status 1
    18955 verbose stack     at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16)
    18955 verbose stack     at EventEmitter.emit (events.js:196:13)
    18955 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
    18955 verbose stack     at ChildProcess.emit (events.js:196:13)
    18955 verbose stack     at maybeClose (internal/child_process.js:1000:16)
    18955 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:267:5)
    18956 verbose pkgid [email protected]
    18957 verbose cwd /home/felipe/nodebb
    18958 verbose Linux 5.0.0-13-generic
    18959 verbose argv "/usr/bin/node" "/usr/bin/npm" "install" "--production"
    18960 verbose node v12.0.0
    18961 verbose npm  v6.9.0
    18962 error code ELIFECYCLE
    18963 error errno 1
    18964 error [email protected] install: `(node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)`
    18964 error Exit status 1
    18965 error Failed at the [email protected] install script.
    18965 error This is probably not a problem with npm. There is likely additional logging output above.
    18966 verbose exit [ 1, true ]
    

    I'm running Ubuntu 19.04;
    NodeBB v1.12.x (I already tried v1.11.x).
    Thank you.

    1 Reply Last reply
    0
  • barisB Offline
    barisB Offline
    <baris> NodeBB
    wrote on last edited by
    #2

    Try latest master, node 12 was released recently and support for node 12 was added 4 days ago https://github.com/lovell/sharp/commits/master

    L 1 Reply Last reply
    1
  • L Offline
    L Offline
    Lotts
    wrote on last edited by Lotts
    #3

    I ran ./nodebb setup again and for my surprise I got that it was installed successfully (???). Then I answered the questions and finally I could ./nodebb start. But I tried to access it via http://localhost:4567/ and I got a "Unable to connect". Is this related to the sharp thing? If yes I'll try the latest master.

    Edit:
    Yes, it's. I got it using ./nodebb log

    1 Reply Last reply
    0
  • L Offline
    L Offline
    Lotts
    replied to <baris> on last edited by
    #4

    @baris Oh God, thank you. After a big journey to get here, finally I could see it working. I almost gave up. I appreciate your support.

    1 Reply Last reply
    1

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development