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

gulp wont run after initial clone #497

Open
barlock opened this issue Nov 18, 2015 · 1 comment
Open

gulp wont run after initial clone #497

barlock opened this issue Nov 18, 2015 · 1 comment

Comments

@barlock
Copy link

barlock commented Nov 18, 2015

After an initial clone and running gulp I'm presented with this stack trace

events.js:85
      throw er; // Unhandled 'error' event
            ^
TypeError: Cannot read property 'length' of undefined
    at Object.exports.fn (/Users/michael/workspace/design-guide/node_modules/runner/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-svgo/node_modules/svgo/plugins/minifyStyles.js:47:24)
    at /Users/michael/workspace/design-guide/node_modules/runner/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-svgo/node_modules/svgo/lib/svgo/plugins.js:59:45
    at Array.filter (native)
    at monkeys (/Users/michael/workspace/design-guide/node_modules/runner/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-svgo/node_modules/svgo/lib/svgo/plugins.js:46:39)
    at /Users/michael/workspace/design-guide/node_modules/runner/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-svgo/node_modules/svgo/lib/svgo/plugins.js:66:17
    at Array.filter (native)
    at monkeys (/Users/michael/workspace/design-guide/node_modules/runner/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-svgo/node_modules/svgo/lib/svgo/plugins.js:46:39)
    at /Users/michael/workspace/design-guide/node_modules/runner/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-svgo/node_modules/svgo/lib/svgo/plugins.js:66:17
    at Array.filter (native)
    at monkeys (/Users/michael/workspace/design-guide/node_modules/runner/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-svgo/node_modules/svgo/lib/svgo/plugins.js:46:39)

I think the problem has something to do with watson-runners imagemin task but I'm not sure exactly what is causing it.

@Snugug
Copy link
Member

Snugug commented Nov 18, 2015

Did you follow our Developing for the Design Guide instructions and have the right version of Node?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants