Comments (14)
strange, i can not reproduce that. composer install does not complain about out of sync and installs happily.
are you using the latest version of composer, and the latest master branch of this repository? i think probably something of your stack is outdated.
from cmf-sandbox.
Same issue here, followed the docs, fresh install, latest version of composer.
from cmf-sandbox.
i did a fresh clone of the sandbox (from here, not any fork) and ran composer self-update, then composer install and it ran through smoothly. what confuses me most is that you say composer is complaining that the .lock file is out of sync.
from cmf-sandbox.
same issue on travis ci
http://travis-ci.org/#!/symfony-cmf/cmf-sandbox/jobs/1835522
from cmf-sandbox.
travis works again for the sandbox with jackrabbit: http://travis-ci.org/#!/symfony-cmf/cmf-sandbox
but somehow we still seem to run into weird composer bugs for all the other platforms. the "pagage not installed" bug is already reported: composer/composer#789
from cmf-sandbox.
I have exactly the same issue. Completely fresh installation and just following the instructions from the README file. After applying the following hackish patch the installation worked for me:
diff --git a/composer.lock b/composer.lock
index 415ea6a..e3b950a 100644
--- a/composer.lock
+++ b/composer.lock
@@ -88,24 +88,12 @@
{
"package": "jackalope/jackalope",
"version": "dev-master",
- "alias-pretty-version": "1.0.x-dev",
- "alias-version": "1.0.9999999.9999999-dev"
- },
- {
- "package": "jackalope/jackalope",
- "version": "dev-master",
"source-reference": "6ad592e9ccba23a2b43d85ddf67cee5897a66e6a",
"commit-date": "1342006705"
},
{
"package": "jackalope/jackalope-jackrabbit",
"version": "dev-master",
- "alias-pretty-version": "1.0.x-dev",
- "alias-version": "1.0.9999999.9999999-dev"
- },
- {
- "package": "jackalope/jackalope-jackrabbit",
- "version": "dev-master",
"source-reference": "3c4fb61bf0c0664d09ef520683842e6426c033e0",
"commit-date": "1342006526"
},
from cmf-sandbox.
does this issue still exist?
from cmf-sandbox.
Yes, it still exist . In the error message,I have One more Problem noticed on knp-menu-bundle :
Problem 3 - Installation request for knplabs/knp-menu-bundle == 1.1.0.0 -> satisfiable by knplabs/knp-menu-bundle v1.1.0. - sonata-project/admin-bundle dev-master requires knplabs/knp-menu-bundle dev-master -> satisfiable by knplabs/knp-menu-bundle dev-master. - Can only install one of: knplabs/knp-menu-bundle dev-master, knplabs/knp-menu-bundle v1.1.0. - Installation request for sonata-project/admin-bundle == 9999999-dev -> satisfiable by sonata-project/admin-bundle dev-master.
from cmf-sandbox.
i wonder if we should just rip the vendors script of symfony 2.0 to be able to lock a vendors dir as @lsmith77 or i myself have it right now (=working state) and reproduce it exactly. should not be that hard i think, worked ok for symfony 2.0. we would keep composer.json to go back to it once it works of course.
from cmf-sandbox.
the issue is caused by SonataAdminBundle having added a dependency on dev-master of KnpMenuBundle, which according to @stof is "barely useable" atm .. we are using 1.1.* atm already ... i will check with stof on some more details .. either we have to update to also use dev-master .. or SonataAdminBundle can hopefully revert ..
from cmf-sandbox.
well but it happened before and will again as long as we can not base
only on tagged releases or composer is fixed to store everything in the
.lock file it needs to really replay the installation.
from cmf-sandbox.
yeah .. i am just not sure if it helps us creating this or if we just have to suffer until @Seldaek comes back from vacation and fixes it at the source .. @naderman are you in the loop about the issue and can you give us an idea of when we can ideally expect a fix .. or if its better that we come up with some hack solution for now.
from cmf-sandbox.
the issue with going back to a deps file is that imho we cannot switch away from composer.json to define the dependencies so what we would need to do is make it possible to generate a lock file that includes the git repo url and sha1 hash and then we need to manually also deal with post install stuff. it seems like a huge mess to spend time on .. but yeah .. right now it makes the CMF unusable for new comers :(
from cmf-sandbox.
the change in SonataAdminBundle has been reverted .. i just did a "composer install" with a cleaned out vendor dir and it installed everything just fine.
from cmf-sandbox.
Related Issues (20)
- PHPCRException: The Id is immutable HOT 3
- Breadcrumb stopped working HOT 1
- Sandbox offline HOT 3
- CMF Sandbox host: "No space left on device" HOT 1
- Session-Error on live sandbox HOT 1
- Interface language vs content language switch is confusing HOT 2
- Segmentation fault on jackrabit build
- Some missing translations HOT 3
- Problem loading fixtures HOT 3
- Adjust Directory Structure HOT 1
- Use Enviroment Variables instead of parameters.yml HOT 2
- Introduce Unified Web Controller
- Introduce Make File
- Remove current vagrant box and replace by nix environment HOT 1
- Live Demo not working HOT 2
- Can't access admin backend on sandbox demo
- Exception on admin list pages HOT 1
- Admin panel content edit fails (FatalErrorException) HOT 3
- CMF Sandbox v 2.1: Load doctrine fixtures cause Exception HOT 1
- Doesn't work HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cmf-sandbox.