Browse Source

Fix: add --allow-root option to bower

Febbweiss 9 years ago
parent
commit
28a0295327
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package.json

+ 1 - 1
package.json

@@ -32,7 +32,7 @@
     "sinon": "~1.15.4"
   },
   "scripts": {
-    "postinstall": "./node_modules/.bin/bower install cache clean && ./node_modules/.bin/bower install",
+    "postinstall": "./node_modules/.bin/bower --allow-root cache clean && ./node_modules/.bin/bower --allow-root install",
     "test": "./node_modules/karma/bin/karma start karma.conf.js --browsers PhantomJS",
     "start": "node server.js",
     "stop": "pkill -SIGINT CloudBudget-AngularJS"