Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Browserify does not work with two transformations #678

Closed
piranha opened this issue Feb 26, 2014 · 1 comment
Closed

Browserify does not work with two transformations #678

piranha opened this issue Feb 26, 2014 · 1 comment

Comments

@piranha
Copy link

piranha commented Feb 26, 2014

piranha@spica ~/dev/work/webclient> ./node_modules/.bin/browserify -t coffeeify -t [ reactify -x coffee ] -d src/main.coffee -o _out/main.js

/Users/piranha/dev/work/webclient/node_modules/browserify/bin/args.js:156
            if (opts) Object.keys(opts).forEach(function (key) {
                             ^
TypeError: Object.keys called on non-object
  at Function.keys (native)
  at addTransform (/Users/piranha/dev/work/webclient/node_modules/browserify/bin/args.js:156:30)
  at Array.forEach (native)
  at module.exports (/Users/piranha/dev/work/webclient/node_modules/browserify/bin/args.js:136:10)
  at Object.<anonymous> (/Users/piranha/dev/work/webclient/node_modules/browserify/bin/cmd.js:6:26)
  at Module._compile (module.js:456:26)
  at Object.Module._extensions..js (module.js:474:10)
  at Module.load (module.js:356:32)
  at Function.Module._load (module.js:312:12)
  at Function.Module.runMain (module.js:497:10)
  at startup (node.js:119:16)
  at node.js:901:3
@ghost
Copy link

ghost commented Feb 26, 2014

Fixed in 3.31.2. Integers were getting passed in from the forEach as opts parameters by mistake.

@ghost ghost closed this as completed Feb 26, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant