Closed boogerlad closed 8 years ago
Noticed the same. I need to run:
bower({ cmd: "cache clean" })
From what I can see of index.js, it looks like the intention is to call the arguments separately, e.g., bower({cmd: 'install'},['--allow-root'])
. However, in running bower({cmd: 'link'}, ['some_local_package', 'some_local_package'])
I had to comment out line 46 to get everything to run properly.
+1
For anyone wanting to apply joshbrayman fix, I had to to this way: bower({ cmd: 'update'},[['my-module']])
to do a bower update my-module
.
It would be really awesome if someone could update the readme with this functionality?
when I do
bower({ cmd: 'install --allow-root'})