ivandoric / d8theming

Drupal 8 Theming Tutorials
102 stars 42 forks source link

gulp-sourcemaps - invalid release #5

Open LukeMcGurdy opened 7 years ago

LukeMcGurdy commented 7 years ago

Win 10 user here.

I was having issues generating sourcemaps and it looks like this was due to an invalid version of gulp-sourcemaps. See below:

$ npm list --depth=0 olympos-gulp@1.0.0 E:\wamp64\www\drupal-8 +-- gulp@3.9.1 +-- gulp-autoprefixer@3.1.1 +-- gulp-imagemin@2.4.0 +-- gulp-livereload@3.8.1 +-- gulp-sass@2.3.2 +-- gulp-sourcemaps@1.11.1 invalid +-- gulp-uglifyjs@0.6.2 `-- imagemin-pngquant@4.2.2

While I've updated all dependencies to their latest releases, it looks like an update to both gulp-sass and gulp-sourcemaps is enough to fix the issue.

"gulp": "^3.9.0", "gulp-autoprefixer": "^3.0.2", "gulp-imagemin": "^3.1.1", "gulp-livereload": "^3.8.0", "gulp-sass": "^3.1.0", "gulp-sourcemaps": "^2.4.1", "gulp-uglifyjs": "^0.6.2", "imagemin-pngquant": "^5.0.0"

ivandoric commented 7 years ago

Glad you got it fixed. This is an old series so it's no wonder some things don't work as expected.

LukeMcGurdy commented 7 years ago

When you say old do you still think it's relevant? I've not found much else out there that takes an in-depth look at D8 theming.

ivandoric commented 7 years ago

I think that theming is still relevant. But I haven't touched Drupal in a long while so I may be wrong. I was talking about gulp and other node plugins. There have been at least two major releases of Node.js since the recording of these videos.

LukeMcGurdy commented 7 years ago

OK, thanks, Ivan. I've been working through the tutorials and they still seem pretty relevant to me.