Closed ashrewdmint closed 9 years ago
When trying to run $ browserify -t debowerify path/to/files/*.js -o path/to/output.js I get this:
$ browserify -t debowerify path/to/files/*.js -o path/to/output.js
/.../node_modules/debowerify/index.js:79 var bowerOptions = options.bowerOptions || {}; ^ TypeError: Cannot read property 'bowerOptions' of undefined
If I make these changes to debowerify's index.js, it works:
debowerify
index.js
8 | module.exports = function (file, options) { 9 | if (!options) options = {};
I have upgraded to the latest version of node and npm but it still doesn't seem to work as-is.
node
npm
Have you considered sending the change you made as a pull request?
OK, here is a pull request with the change mentioned above.
Should be fixed by #64. Thanks!
When trying to run
$ browserify -t debowerify path/to/files/*.js -o path/to/output.js
I get this:If I make these changes to
debowerify
'sindex.js
, it works:I have upgraded to the latest version of
node
andnpm
but it still doesn't seem to work as-is.