Coder Social home page Coder Social logo

Error running composer about kimai2 HOT 10 CLOSED

tobybatch avatar tobybatch commented on July 30, 2024
Error running composer

from kimai2.

Comments (10)

Schrolli91 avatar Schrolli91 commented on July 30, 2024

btw - we do exactly the same, but on my machine its building fine

from kimai2.

kevinpapst avatar kevinpapst commented on July 30, 2024

Does it really look exactly like this The parameter "!k(MISSING)ernel.project_dir" must be defined?
Looks wrong in multiple way. Does that happen in a fresh clone as well?
It is a parameter defined by Symfony itself in vendor/symfony/http-kernel/Kernel.php around line 342

from kimai2.

Schrolli91 avatar Schrolli91 commented on July 30, 2024

The docker build clones the kimai repo from scratch, yes

from kimai2.

kevinpapst avatar kevinpapst commented on July 30, 2024

So on one machine it works, on the other one it doesn't? Whats the difference between these machines?

The !k(MISSING)ernel.project_dir looks like a copy & paste problem. Are you sure there is no local.yaml or some plugin that defines a variable and uses the %kernel.project_dir%?

I have no clue, I can just tell you where it is defined and what it is defined for. I never experienced any problem with it.

from kimai2.

Schrolli91 avatar Schrolli91 commented on July 30, 2024

The only difference to your described installation in the docs is that we pre install the prestissimo Plugin to improve deps install speed from composer. And this will removed automatically on the composer install because it's not in the deps file.

Maybe that's a problem?

My machine is a Linux mint 19.2, idk what toby is using.

from kimai2.

kevinpapst avatar kevinpapst commented on July 30, 2024

Maybe.

Symfony Flex already brings composer parallel downloads (if curl-multi is installed). Thats quite fast actually. If you need even more speed, mount a temporary directory for composer caches.

from kimai2.

Schrolli91 avatar Schrolli91 commented on July 30, 2024

OK, then Toby should test the build with the commented out prestissimo install, maybe that works then

from kimai2.

Schrolli91 avatar Schrolli91 commented on July 30, 2024

I think we can address the problem now... Looks like a problem with the docker version 🤔

from kimai2.

timlegge avatar timlegge commented on July 30, 2024

@Schrolli91 what docker version seems to fix this?

from kimai2.

Schrolli91 avatar Schrolli91 commented on July 30, 2024

All versions over 19.## should work ...
We found version 18.09.7 to be problematic, but we didn't investigate why

we've tested 19.03.2 and 19.03.3 successfully

from kimai2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.