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
  • 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 | 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 363 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
            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