Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • 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
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. NodeBB
  3. Installing plugins in NodeBB

Installing plugins in NodeBB

Scheduled Pinned Locked Moved NodeBB
5 Posts 2 Posters 1.4k Views 2 Watching
  • 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.
  • O Offline
    O Offline
    ok-n
    wrote on last edited by joseph
    #1

    Hi everyone!
    (Request to administrators to move to the appropriate category)
    I installed the NodeBB forum and I use cloudron.
    I wrote a new plugin for NodeBB, and when I try to install it directly from the terminal I get an error that the files are read-only.
    Even when I opened a project on GitHub and uploaded the plugin files there, and tried typing the command:
    /usr/local/bin/gosu cloudron:cloudron yarn add nodebb-theme-XXXX
    I still got the same error.
    Can someone help me figure out where my mistake is?
    Thank you!

    1 Reply Last reply
    1
    • J joseph moved this topic from Wallos on
    • J Offline
      J Offline
      joseph
      Staff
      wrote on last edited by
      #2

      Can you paste the error you are getting? Or a screenshot?

      1 Reply Last reply
      1
      • O Offline
        O Offline
        ok-n
        wrote on last edited by
        #3

        Here is the project in Git
        Here is the project in Git - this is a beta version for initial testing. The plugin is intended for custom registration for the nodbb forum
        The errors I get:
        Error: EROFS: read-only file system, open '/home/cloudron/.yarnrc'
        I typed the following commands in the console but I still got the same error:
        cd /app/code
        /usr/local/bin/gosu cloudron:cloudron yarn add https://github.com/oknet8020/nodebb-plugin-custom-registration.git
        Thank you very much!

        1 Reply Last reply
        1
        • J Offline
          J Offline
          joseph
          Staff
          wrote on last edited by
          #4

          @ok-n for me, it fails like this

          image.png

          error Custom Registration Fields@1.0.0: Name contains illegal characters
          

          (the yarrnc error is corrected in the latest base image , but you can ignore it)

          1 Reply Last reply
          0
          • J Offline
            J Offline
            joseph
            Staff
            wrote on last edited by
            #5

            I think there is no id field in package.json , just a name field https://github.com/oknet8020/nodebb-plugin-custom-registration/blob/main/package.json#L3C1-L3C40 . name field has no space and no capitals afaik

            1 Reply Last reply
            0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Bookmarks
            • Search