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. Ghost
  3. "Yarn install" / "yarn dev" commands fail inside ghost container

"Yarn install" / "yarn dev" commands fail inside ghost container

Scheduled Pinned Locked Moved Ghost
2 Posts 2 Posters 374 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.
    • P Offline
      P Offline
      pxlcodes
      wrote on last edited by
      #1

      To properly edit the ghost default theme (either Casper / Source) you need to first run a "Yarn install" command inside the theme's root directory, and then, when you make edits to a css file, you should run "Yarn dev" command inside theme's root directory so that you changes get applied to /assets/built/example.css.
      However, due to some reason (probably gulpjs not being present and a few other things) yarn install and yarn dev commands fail, and since cloudron's security policy doesn't allow installing something inside the docker container of cloudron apps, i had to create a post here to ask for your kind help.

      Additional note:
      There are many ghost themes available which don't require these stuff, However, most important themes, including all of the free and official Ghost themes and many premium themes use Gulp to compile CSS files. so, it would be best if you could pre install that so that yarn dev command could work out of the box on cloudron ghost app.

      1 Reply Last reply
      1
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #2

        @pxlcodes one idea is to to install and build the theme locally on your laptop. Then , you can push the build via the Cloudron CLI tool (npm install cloudron) or just upload it via the File manager.

        I think, otherwise, we have to install all the devtools that a theme requires (which is unknown ahead of time). At the end of the day, the theme is only create static html/css/js files.

        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