ded / domready

lets you know when the dom is ready
MIT License
874 stars 129 forks source link

wiredep doesn't want to inject domready #39

Open nicolasrenon opened 10 years ago

nicolasrenon commented 10 years ago

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 commented 9 years ago

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

nicolasrenon commented 9 years ago

Nope :'(