Encountering an issue while using grunt for staging (grunt serve):
Running "bower-install:app" (bower-install) task
popcornjs was not injected into your file.
Please check the "app\bower_components\popcornjs" directory for the required file, and manually include it in your file.
I have included Popcorn.js in bower.json:
{
"name": "NAME",
"version": "0.0.0",
"dependencies": {
"angular": "1.2.6",
.
"popcornjs": "~1.3.0",
.
"angular-slugify": "1.0.0"
},
"devDependencies": {
"angular-mocks": "1.2.6",
"angular-scenario": "1.2.6"
}
}
In my index.html:
<s_cript src="bower_components/popcornjs/popcorn.js"></script>
<s_cript src="bower_components/popcornjs/modules/player/popcorn.player.js"></script>
<s_cript src="bower_components/popcornjs/players/youtube/popcorn.youtube.js"></script>
<s_cript src="bower_components/popcornjs/plugins/code/popcorn.code.js"></script>
Any idea what I might be missing? All other libraries are functioning properly.