domready icon indicating copy to clipboard operation
domready copied to clipboard

wiredep doesn't want to inject domready

Open nicolasrenon opened this issue 11 years ago • 2 comments

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?

nicolasrenon avatar Oct 14 '14 20:10 nicolasrenon

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

gmaggess avatar Dec 20 '14 01:12 gmaggess

Nope :'(

nicolasrenon avatar Dec 31 '14 16:12 nicolasrenon