javascript - Popcorn was not injected in your file -


While staging with grunt service I am doing:

  running "Install: app" (buy-install) job popcornes was not injected in your file. Please take a look at "app \ bower_components \ popcornjs", you include it manually in your file.  

I've added Popcorn.js to bower.json:

  {"name": "NAME", "version": "0.0.0 "," Dependency ": {" angular ":" 1.2.6 ",. "Popcorns": "~ 1.3.0". "Cooner-slugieff": "1.0.0"}, "Development": {"angular-socks": "1.2.6", "angular-landscape": "1.2.6"}}  

then as my index.html:

  & lt; S_cript src = "bower_components / popcornjs / popcorn.js" & gt; & Lt; / Script & gt; & Lt; S_cript src = "bower_components / popcornjs / module / player / popcorn.player.js" & gt; & Lt; / Script & gt; & Lt; S_cript src = "bower_components / popcornjs / players / youtube / popcorn.youtube.js" & gt; & Lt; / Script & gt; & Lt; S_cript src = "bower_components / popcornjs / plugins / code / popcorn.code.js" & gt; & Lt; / Script & gt;  

. '.'

Am I missing something? Other libraries are working fine.

I just made quick search at popcornjs . When you say that bower install --save popcornjs is called, then drag that repo into a bower.json file, and that file contains a main This property is the property hoarse-bower-install what file to insert in your HTML

However, you have version ~ 1.3.0 < / Code>, which will drag it down. There is no bower.json in it, thus there is no way to know the file that is included in blanket-bower-install .

The solution is to manually add it to your HTML, or upgrade to the latest version that uses the bower properly.


Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -