I used yeoman to generate a sub theme (I chose the Aurora for any options presented) and included gulp build tools.

1) I run gulp and receive a bunch of notifications about gulp plugins not being installed. I am curious as to why the sub-theme comes with about half of the gulp-plugins required to work, and the other half you have to manually install. Is this working as intended, or maybe something has happened during the generation of the two sub-themes I tested this with, that I just didn't notice?

2) Once you do install the proper plugins and run Gulp, an error of "ReferenceError: i is not defined", because on line 65 of the gulpfile, there is a letter "i" after the closing brackets of the gulp Watch task.

3) The "scripts" gulp task has a pipe to rename a file to script.min.js, except this module is not installed and it's also not in the variable definitions at the top with the rest of the plugins (var rename = require('gulp-rename');)

As I correct these, more errors are popping up. I'm not sure if it's appropriate to report al these in one issue, let me know if I need to break them up into separate issues. Really, I'm just trying to find a bulletproof sub-theme that works because my modified version of aurora is not working, but currently it's working better than the generated Yeoman sub-theme.

edit: I had to blow away some ruby/rvm stuff in the vendor folder because of a bunch of errors with openssl, I was then able to run bundle install. Now I can run the gulp command and there are no errors.

Comments

iamcarrico’s picture

Status: Active » Closed (duplicate)

All issues relating to the generator should put on GitHub, IIRC, all of these have been fixed in more recent versions.

humanaut’s picture

Weird. I just installed all of this yesterday, you guys are quick.

iamcarrico’s picture

Also, just as a note to anybody who finds this: the ruby work in the generator is built to work with a wide variety of systems— but is not necessarily great for everybody. If you are having issues, I recommend deleting the .vendor folder and .bundle settings, which will allow system-wide gems to be used.