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
FoksVHoxF

FoksVHox

@FoksVHox
About
Posts
14
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Using PHP-CLI 8.1 as default
    FoksVHoxF FoksVHox

    @girish said in Using PHP-CLI 8.1 as default:

    alias php=php8.1

    I wasn't aware that you had to create the /app/data/.bashrc, which resolved it. However, when using composer scripts (such as you do in Laravel projects) it'll use the 7.4.30 version instead of the aliased one.

    LAMP

  • Using YARN
    FoksVHoxF FoksVHox

    @girish Will you update the thread once the issue has been resolved?

    LAMP

  • Using YARN
    FoksVHoxF FoksVHox

    @nebulon There is:

    EACCES: permission denied, open '/app/data/lectero/public/build/assets/app.22fa980f.js'
    error during build:
    Error: EACCES: permission denied, open '/app/data/lectero/public/build/assets/app.22fa980f.js'
    
    LAMP

  • Using YARN
    FoksVHoxF FoksVHox

    @nebulon I've tried to use npm but it seems that it won't work either.

    LAMP

  • Using PHP-CLI 8.1 as default
    FoksVHoxF FoksVHox

    Hello

    Would it be possible to move the PHP CLI up to php 8.1? So we don't have to use php8.1 as a command? This would be very useful for composer projects.

    LAMP

  • Using YARN
    FoksVHoxF FoksVHox

    @nebulon said in Using YARN:

    Actually to take a step back, from your package.json it looks like there is nothing yarn specific, couldn't you just use npm there instead?

    Well I could, however, npm is often way slower than yarn is.

    LAMP

  • Using YARN
    FoksVHoxF FoksVHox

    @nebulon Yes. I can confirm this has something to do with the version of Yarn not being Yarn v2.

    LAMP

  • Using YARN
    FoksVHoxF FoksVHox

    @girish said in Using YARN:

    yarn --version

    Sorry for the late reply, it indeed does, however, when using custom commands, that are specified within your package.json file, it doesn't work.

    This is my package.json file:

    {
        "private": true,
        "scripts": {
            "dev": "vite",
            "build": "vite build"
        },
        "devDependencies": {
            "@babel/core": "^7.18.13",
            "@babel/plugin-proposal-object-rest-spread": "^7.18.6",
            "@babel/plugin-syntax-dynamic-import": "^7.8.3",
            "@babel/plugin-transform-runtime": "^7.18.10",
            "@babel/preset-env": "^7.18.10",
            "@tailwindcss/forms": "^0.5.2",
            "alpinejs": "^3.10.3",
            "apexcharts": "^3.35.5",
            "autoprefixer": "^10.4.8",
            "axios": "^0.27",
            "clockwork-browser": "^1.1.1",
            "cross-env": "^7.0.3",
            "laravel-echo": "^1.14.0",
            "laravel-vite-plugin": "^0.5.0",
            "lodash": "^4.17.21",
            "mix-tailwindcss": "^1.3.0",
            "object-path": ">=0.11.8",
            "postcss": "^8.4.16",
            "pusher-js": "^7.4.0",
            "resolve-url-loader": "^5.0.0",
            "sass": "^1.54.7",
            "sass-loader": "^13.0.2",
            "tailwindcss": "^3.1.8",
            "vite": "^3.0.2",
            "vue-template-compiler": "^2.7.10",
            "webpack": "^5.74.0",
            "webpack-cli": "^4.10.0"
        },
        "dependencies": {
            "@alpinejs/mask": "^3.10.3",
            "@tailwindcss/aspect-ratio": "^0.4.0",
            "@tailwindcss/line-clamp": "^0.4.0"
        }
    }
    

    When I run yarn build I get the following error.

    root@de780a18-b997-4803-a5b2-f07549cad279:/app/data/lectero# yarn build
    yarn run v1.22.17
    warning Skipping preferred cache folder "/usr/local/share/.cache/yarn" because it is not writable.
    warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-0".
    $ vite build
    warning Cannot find a suitable global folder. Tried these: "/usr/local, /usr/local/share/.yarn"
    /bin/sh: 1: vite: not found
    error Command failed with exit code 127.
    info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
    

    And I also think it has something to do with the version of Yarn not being version 2

    LAMP

  • Using YARN
    FoksVHoxF FoksVHox

    Hello!

    I'd like to hear how I'd be able to use the YARN package manager instead of NPM, in the LAMP app?

    LAMP

  • Ability to pull a private repository via Git
    FoksVHoxF FoksVHox

    Hello!

    I'd like to pull a private repository once a day, however, I currently need to retype the credentials every time. When I try to use git to store the credentials, I get the following error:

    # git config --global credential.helper cache
    error: could not lock config file /root/.gitconfig: Read-only file system
    

    Would it be possible to add a way to do this?

    LAMP

  • How to allow WikiJS to use the git engine?
    FoksVHoxF FoksVHox

    The issue still exists in the lastest version of the app.

    Wiki.js

  • How to allow WikiJS to use the git engine?
    FoksVHoxF FoksVHox

    @jdaviescoates Yeah, or when you've multiple writers to write documentation - or even offline writing documentation.

    Wiki.js

  • How to allow WikiJS to use the git engine?
    FoksVHoxF FoksVHox

    @nebulon
    https://docs.requarks.io/en/storage/git
    c4a9eae0-0988-4fa3-a229-86376bcac297-image.png

    Wiki.js

  • How to allow WikiJS to use the git engine?
    FoksVHoxF FoksVHox

    Hello!

    I'm trying to use the git engine for syncing changes to Wikijs, however, I seem not to be able to do it, since the creation of /root/.ssh/known_hosts fails. I've made sure that I've followed the Wikijs docs 100%, and now it looks like it's an issue with cloudron.

    Wiki.js
  • Login

  • Don't have an account? Register

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