-
Notifications
You must be signed in to change notification settings - Fork 99
Cannot load resource "alias: app.book #393
Comments
You have to provide
|
Thank you for your prompt response @michalmarcinkowski |
@abhinavkumar940 Thanks for report, I will try to reproduce the problem and get back to you. |
Hello @abhinavkumar940, I just tried the docs with clean Symfony 2.8 and everything seems to work - https://github.com/pjedrzejewski/SRB-Example. Have a look if you have any differences. Anyway, I discovered another small issue with the documentation, so it's a plus. :) Let me know if you figure it out. I will leave this open until you give us feedback, thanks! |
Hi @pjedrzejewski many thanks for your reply. Here are my findings. Your test repo works, but it's using dev-master and not one of the tagged releases. I just created a blank 2.8 project which uses 0.15 it replicates the issue. https://github.com/abhinavkumar940/SRB-Example-Stable |
@abhinavkumar940 the docs are up to date with current master. The 0.15 release doesn't have this configuration options. Add to your dependencies |
That's still kind of an issue, right? I mean I am sure to encounter that even if I follow the docs. Anyways, I've got to lower my Let me know, thanks. |
somehow, I ended up here searching for the error @abhinavkumar940 had initially to figure out the planets would not align very well for those who use this bundle for the first time - especially on Ubuntu 14.04. if you use symfony installer like this: the symfony instance will have the following composer.json:
and using composer require sylius/resource-bundle ^0.16 you'll get an error on Ubuntu 14.04 claiming 5.5.9-1ubuntu4.14 != 5.5.9 and there are missing dependencies from this bundle. that's how I ended up using 0.15 and bumped into this error. maybe there should be a mention in the doc for using 0.16 or above as there are BC. happy to do a small PR on that if I get the green light :) |
I am on Symfony
v2.8.0
app/AppKernel.php
app/config/config.yml
app/config/routing.yml
And then when I do
./bin/console debug:router
I get
Please note that the exception is a
FileLoaderLoadException
I'd assume that it hasn't even reached Sylus yet.Would love to provide a PR if somebody gives me a direction.
The text was updated successfully, but these errors were encountered: