Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Asset q_js not found #126

Closed
martijngastkemper opened this issue Mar 12, 2015 · 1 comment
Closed

Asset q_js not found #126

martijngastkemper opened this issue Mar 12, 2015 · 1 comment

Comments

@martijngastkemper
Copy link

I try to install q:

// bower.json
{
    "name": "bundle-name",
    "dependencies": {
        "q": "1.0.1"
    }
}

q is properly downloaded according the output of app/console sp:bower:install

bower q#1.0.1                   cached git://github.com/kriskowal/q.git#1.0.1
bower q#1.0.1                 validate 1.0.1 against git://github.com/kriskowal/q.git#1.0.1
bower q#1.0.1                  install q#1.0.1

q#1.0.1 ../../../../src/MG/RecurringBundle/Resources/public/components/q

But I get the error asset q_js not found when I use @q_js in my Twig template. The output of sp:bower:list is empty, so there is a problem with installing that package.

I tried to install jQuery and Bootstrap, no problems with that.

@Spea
Copy link
Owner

Spea commented Jun 20, 2015

The problem here is, that the bower package does not define a main section. So this is the same problem as describe in #100 (comment) and thus not a problem of this bundle.

@Spea Spea closed this as completed Jun 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants