Closed daFish closed 9 years ago
Would be nice if you could provide more info, like the installed bower/composer dependencies and your configuration for this bundle
Sure:
Bundle configuration:
sp_bower:
bin: "/usr/local/bin/bower"
install_on_warmup: true
bundles:
FmdbCoreBundle: ~
assetic:
enabled: true
nest_dependencies: false
bower.json
:
{
"name": "fmdb",
"dependencies": {
"jquery": "~2.0",
"bootstrap-sass-official": "~3.1",
"select2": "~3.4",
"angular": "~1.2",
"select2-bootstrap-css": "~1.3",
"font-awesome": "~4.1"
}
}
composer.json
:
{
"name": "fmdb/fmdb",
"description": "FMDB",
"type": "project",
"license": "proprietary",
"autoload": {
"psr-0": { "": "src/" }
},
"minimum-stability": "stable",
"require": {
"php": ">=5.4.5",
"symfony/symfony": "~2.4",
"doctrine/orm": "~2.2,>=2.2.3",
"doctrine/doctrine-bundle": "~1.2",
"twig/extensions": "~1.0",
"symfony/assetic-bundle": "~2.3",
"symfony/swiftmailer-bundle": "~2.3",
"symfony/monolog-bundle": "~2.4",
"sensio/distribution-bundle": "~2.3",
"sensio/framework-extra-bundle": "~3.0",
"sensio/generator-bundle": "~2.3",
"incenteev/composer-parameter-handler": "~2.0",
"jms/security-extra-bundle":"1.5.1",
"jms/di-extra-bundle": "~1.4",
"jms/metadata": "~1.5",
"friendsofsymfony/user-bundle": "dev-master as v1.3.0",
"stof/doctrine-extensions-bundle": "~1.1",
"craue/formflow-bundle": "~2.0",
"friendsofsymfony/jsrouting-bundle": "~1.1",
"vich/uploader-bundle": "dev-master@dev",
"doctrine/doctrine-fixtures-bundle": "dev-master@dev",
"friendsofsymfony/elastica-bundle": "dev-master#cdd6e3af45a7fb9f97b53887416e0b3511763452",
"ruflin/elastica": "~0.20",
"liip/imagine-bundle": "v0.21.1",
"knplabs/knp-paginator-bundle": "~2.4",
"simplethings/entity-audit-bundle": "dev-master@dev",
"pond/tunes": "dev-master",
"pond/tunes-bundle": "dev-master@dev",
"sonata-project/user-bundle": "dev-master#32c74dc130b859c0e1b9f0293784a80e806ce9b6",
"sonata-project/admin-bundle": "~2.3@dev",
"sonata-project/doctrine-orm-admin-bundle": "~2.2",
"sonata-project/core-bundle": "~2.2@dev",
"sonata-project/datagrid-bundle": "~2.2@dev",
"dms/dms-filter-bundle": "~1.1",
"doctrine/migrations": "~1.0@dev",
"doctrine/doctrine-migrations-bundle": "dev-master@dev",
"beberlei/metrics": "~1.1",
"sp/bower-bundle": "~0.10",
"mopa/bootstrap-bundle": "dev-master#aefb1e17b52db57f8042e39273ebe70ed6872b2f",
"exeu/apai-io": "~1.2",
"friendsofsymfony/rest-bundle": "~1.1",
"jms/serializer-bundle": "~0.13",
"nelmio/api-doc-bundle": "~2.3",
"willdurand/hateoas-bundle": "dev-master@dev",
"willdurand/rest-extra-bundle": "~1.0",
"knplabs/knp-menu-bundle": "~1.1",
"pagerfanta/pagerfanta": "~1.0",
"egeloen/ordered-form-bundle": "~1.0",
"white-october/pagerfanta-bundle": "dev-master",
"willdurand/geocoder-bundle": "~3.0",
"jeremykendall/php-domain-parser": "~1.2",
"oldsound/rabbitmq-bundle": "~1.3"
},
"require-dev": {
"raulfraile/ladybug-bundle": "v0.7",
"mockery/mockery": "dev-master",
"behat/symfony2-extension": "*",
"behat/mink-extension": "*",
"behat/mink-goutte-driver": "*",
"phpunit/phpunit": "~3.7",
"phploc/phploc": "~2.0",
"matthiasnoback/symfony-config-test": "0.1.*",
"matthiasnoback/symfony-dependency-injection-test": "0.4.*",
"hautelook/alice-bundle": "v0.1.3",
"liip/functional-test-bundle": "dev-master@dev"
},
"scripts": {
"post-install-cmd": [
"Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile",
"./app/console fos:js-routing:dump"
],
"post-update-cmd": [
"Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile",
"./app/console fos:js-routing:dump"
]
},
"config": {
"bin-dir": "bin"
},
"extra": {
"symfony-app-dir": "app",
"symfony-web-dir": "web",
"symfony-assets-install": "symlink",
"incenteev-parameters": {
"file": "app/config/parameters.yml",
"dist-file": "app/config/parameters.default.yml"
}
}
}
Sadly I'm not able to reproduce this issue. If you could provide a symfony-standard fork/branch where this error occurs it would help me a lot
@daFish Did you solve your issue ? I don't think it's related to this bundle, I have the same error and I'm not using it.
@EmmanuelVella Unfortunately not. I ended up using another way to integrate Bower. If you have the same problem and not even using the bundle, maybe the problem lies somewhere in Assetic. Are you using any other bundle which makes use of Assetic in any way?
No I don't think so. It may also be a twig issue. We can discuss about this by email if you want !
Could be related to https://github.com/symfony/assetic-bundle/issues/29 / https://github.com/twigphp/Twig/pull/610
Hi there.
I'm using version 0.10 of this bundle and have the following problem which only occurs with a fresh cache after it was cleaned by hand or during a run of
composer update
.As the error message is a bit misleading I thought the issue came from FriendsOfSymfony/FOSJsRoutingBundle#146 which isn't the case. I tracked it down to this bundle when the assetic tags are used, e.g.
@jquery_js
.If I remove them and clear the cache, the error is gone so I guess this bundle affects it. Anything that I can do?