generator-jekyllized: Error when running gulp right after the install

Hi, and thanks a lot for this generator.

I get an error that I haven’t managed to solve when running gulp right after installing the generator.

Any help appreciated. Thanks in advance!

$ gulp
/home/ubuntu/workspace/gulpfile.js:159
      imagemin.gifsicle({interlaced: true}),
              ^

SyntaxError: Unexpected token .
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:373:25)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at execute (/home/ubuntu/.nvm/versions/node/v4.4.3/lib/node_modules/gulp-cli/lib/versioned/^4.0.0-alpha.2/index.js:32:3)
    at Liftoff.handleArguments (/home/ubuntu/.nvm/versions/node/v4.4.3/lib/node_modules/gulp-cli/index.js:150:63)
    at Liftoff.<anonymous> (/home/ubuntu/.nvm/versions/node/v4.4.3/lib/node_modules/gulp-cli/node_modules/liftoff/index.js:193:16)

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 16 (9 by maintainers)

Most upvoted comments

I do. I’ll give that a whirl after dinner and let you know what I find out.

Interesting. Now after a yo jekyllized:update running gulp gives me this output:

assert.js:90
  throw new assert.AssertionError({
  ^
 AssertionError: Task never defined: site:tmp
    at getFunction (C:\Users\Darin\Google Drive\sites\JoB\node_modules\gulp\node_modules\undertaker\lib\helpers\normaliz
eArgs.js:15:5)
    at arrayMap (C:\Users\Darin\Google Drive\sites\JoB\node_modules\gulp\node_modules\undertaker\node_modules\lodash.map
\index.js:34:21)
    at map (C:\Users\Darin\Google Drive\sites\JoB\node_modules\gulp\node_modules\undertaker\node_modules\lodash.map\inde
x.js:138:10)
    at normalizeArgs (C:\Users\Darin\Google Drive\sites\JoB\node_modules\gulp\node_modules\undertaker\lib\helpers\normal
izeArgs.js:19:10)
    at Gulp.series (C:\Users\Darin\Google Drive\sites\JoB\node_modules\gulp\node_modules\undertaker\lib\series.js:13:14)

    at Object.<anonymous> (C:\Users\Darin\Google Drive\sites\JoB\gulpfile.js:13:30)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at execute (C:\Users\Darin\AppData\Roaming\npm\node_modules\gulp-cli\lib\versioned\^4.0.0-alpha.2\index.js:33:18)
    at Liftoff.handleArguments (C:\Users\Darin\AppData\Roaming\npm\node_modules\gulp-cli\index.js:150:63)
    at Liftoff.<anonymous> (C:\Users\Darin\AppData\Roaming\npm\node_modules\gulp-cli\node_modules\liftoff\index.js:193:1
6)
    at module.exports (C:\Users\Darin\AppData\Roaming\npm\node_modules\gulp-cli\node_modules\flagged-respawn\index.js:17
:3)