Coder Social home page Coder Social logo

Installation Failed about jigsaw HOT 5 CLOSED

tighten avatar tighten commented on August 29, 2024
Installation Failed

from jigsaw.

Comments (5)

adamwathan avatar adamwathan commented on August 29, 2024

Sounds like you have some existing globally installed Composer packages that have a conflicting dependency. The annoying thing with globally installed Composer packages is they all live in the same composer.json, so it's very easy to run into conflicts.

The best solution in your case would be to install Jigsaw locally per project to avoid conflicts.

You can do that by creating a new directory for your project and changing to it:

mkdir my-jigsaw-site && cd my-jigsaw-site

...then using Composer to install Jigsaw locally to that folder:

composer require tightenco/jigsaw

Finally, initialize the default project structure:

./vendor/bin/jigsaw init

We've got documentation for this situation on the installation page, under the "Installing Locally" heading:

http://jigsaw.tighten.co/docs/installation/

from jigsaw.

ajhaining avatar ajhaining commented on August 29, 2024

I had the latest version on symfony/console (v3.0.4) already installed.

Fixed by adding "tightenco/jigsaw": "^0.5.0" to my global composer.json and running composer global update.

Possible fix to the jigsaw composer.json by allowing a range of versions up to 3.0.*, if indeed that version of symphony/console fits the requirements?

from jigsaw.

adamwathan avatar adamwathan commented on August 29, 2024

Yeah I don't know for sure that symfony/console: ^3.0 is compatible with Jigsaw unfortunately, will have to see what the breaking changes were.

I'm surprised that fixed it, it must have uninstalled the old version of symfony/console when you did the global update? Must not have actually needed ^3.0 for whatever else you had 👍

from jigsaw.

ajhaining avatar ajhaining commented on August 29, 2024

Yeah it did, the only other thing was Laravel installer which is 2.3 and up.

Just had a play around with Jigsaw, it's brilliant. Good work.

from jigsaw.

adamwathan avatar adamwathan commented on August 29, 2024

Awesome! Thanks @AndrewHaining :)

from jigsaw.

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.