gobblejs / gobble

The last build tool you'll ever need
333 stars 20 forks source link

More broken gobble #60

Closed martypdx closed 9 years ago

martypdx commented 9 years ago

Dead in the water using gobble-cli 0.4.0. Have rm -rf node_modules as well as same on gobble-cli in global bin. :(

RangeError: Invalid array length
    at /Users/marty/npm/lib/node_modules/gobble-cli/lib/utils/logger.js:54:19
    at Array.forEach (native)
    at indent (/Users/marty/npm/lib/node_modules/gobble-cli/lib/utils/logger.js:50:8)
    at warn (/Users/marty/npm/lib/node_modules/gobble-cli/lib/utils/logger.js:30:26)
    at Object.logger.warn (/Users/marty/npm/lib/node_modules/gobble-cli/lib/utils/logger.js:349:4)
    at Liftoff.<anonymous> (/Users/marty/npm/lib/node_modules/gobble-cli/lib/index.js:88:11)
    at Liftoff.<anonymous> (/Users/marty/npm/lib/node_modules/gobble-cli/node_modules/liftoff/index.js:159:12)
    at module.exports (/Users/marty/npm/lib/node_modules/gobble-cli/node_modules/liftoff/node_modules/flagged-respawn/index.js:17:3)
    at Liftoff.launch (/Users/marty/npm/lib/node_modules/gobble-cli/node_modules/liftoff/index.js:152:5)
    at Object.<anonymous> (/Users/marty/npm/lib/node_modules/gobble-cli/lib/index.js:68:6)
Rich-Harris commented 9 years ago

Oh no! Sorry. At what point are you getting that error - immediately after running gobble, or is it related to a specific transformation? Is it failing with a specific repo or all of them?

martypdx commented 9 years ago

No worries, I'm sure we'll get it figured out. I went back to 0.3.5, so not stuck.

But will try out from scratch to see if it's just that repo. Are there breaking changes in gobblefile I need to look out for?

Rich-Harris commented 9 years ago

No, all recent changes are bug fixes, ironically...

Rich-Harris commented 9 years ago

Well, I just ran into the same bug. Looks like gobble-cli is at fault - I'll close this in favour of https://github.com/gobblejs/gobble-cli/issues/13