why? successful package install, but no script tag is inserted into index.html

17 views
Skip to first unread message

Al J

unread,
Feb 17, 2015, 11:14:54 AM2/17/15
to twitte...@googlegroups.com

I've created a package, registered it, and can install it with bower -- but the script tag is not included in my index.html file

I'm using a test project generated by the latest yo angular generator -- everything else I bower install injects properly...

What am I doing wrong ?

Thanks
Al;

This is a sample of the output from my last attempt

ajoslin$ bower install --save angular-action-icons
bower angular-action-icons#*    cached git://github.com/ajoslin103/angular-action-icons.git#1.0.2
bower angular-action-icons#*  validate 1.0.2 against git://github.com/ajoslin103/angular-action-icons.git#*
bower angular-action-icons#*       new version for git://github.com/ajoslin103/angular-action-icons.git#*
bower angular-action-icons#*   resolve git://github.com/ajoslin103/angular-action-icons.git#*
bower angular-action-icons#*   extract archive.tar.gz
bower angular-action-icons#*  resolved git://github.com/ajoslin103/angular-action-icons.git#1.0.5
bower angular-action-icons#~1.0.5          install angular-action-icons#1.0.5


This is my packages' bower.json file

{
  "name": "angular-action-icons",
  "version": "1.0.5",
  "description": "AngularJS action icons directive that sends click events to your code as promises",
  "main": "./angular-action-icons.js",
  "ignore": [
    ".jshintrc",
    "**/*.txt"
  ],
  "dependencies": {
    "angular": ">=1.3.0"
  },
  "devDependencies": {
  },
  "keywords": [
    "angular",
    "icons",
    "events",
    "action",
    "radio",
    "checkbox",
    "button",
    "client-side"
  ],
  "authors": [ "Allen Joslin <<omitted>>" ],
  "license": "MIT",
}

Al J

unread,
Feb 19, 2015, 3:38:43 PM2/19/15
to twitte...@googlegroups.com
now it's working...

I added a bunch of fields to the bower.json and added a package.json file 

It still hadn't worked then, but now it does...

al;
Reply all
Reply to author
Forward
0 new messages