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

wiredep doesn't want to inject domready #39

Open
nicolasrenon opened this issue Oct 14, 2014 · 2 comments
Open

wiredep doesn't want to inject domready #39

nicolasrenon opened this issue Oct 14, 2014 · 2 comments

Comments

@nicolasrenon
Copy link

Hello :)

I'm using the webapp generator from Yeoman and this is what I get when I'm trying to make the build :

Running "wiredep:app" (wiredep) task
app/index.html modified.

domready was not injected in your file.
Please go take a look in "/Users/Nicolas/Sites/project/bower_components/domready" for the file you need, then manually include it in your file.

So I have to do this in my index.html :

<!-- build:js(.) scripts/vendor.js -->
<script src="bower_components/domready/ready.js"></script>
<!-- bower:js -->
<!-- endbower -->
<!-- endbuild -->

After compiling this is what I get :

<!-- build:js(.) scripts/vendor.js -->
<script src="bower_components/domready/ready.js"></script>
<!-- bower:js -->
<script src="bower_components/bonzo/bonzo.js"></script>
<script src="bower_components/bean/bean.js"></script>
<script src="bower_components/reqwest/reqwest.js"></script>
<script src="bower_components/fastclick/lib/fastclick.js"></script>
<!-- endbower -->
<!-- endbuild -->

If I don't add it manually, domReady is not injected automatically like the others between the bower:js tags.

FYI this is my bower.json :

  "dependencies": {
    "modernizr": "~2.8.3",
    "domready": "~1.0.7",
    "bonzo": "~2.0.0",
    "bean": "~1.0.14",
    "reqwest": "~1.1.4",
    "fastclick": "~1.0.3"
  },

Is something missing or did I do something wrong?

@gmaggess
Copy link

I've got the same message. Have u find out the solution?

@nicolasrenon
Copy link
Author

Nope :'(

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