snapgravy pro asked 5 years ago


We use Gulp 4 but MDBootstrap Pro uses Gulp 3.9.1 in its package.json file. Can we use Gulp 4 with the latest Gulp plugins versions, i.e., gulp-autoprefixer 6.0.0 without breaking MDBootstrap?


MDBootstrap staff answered 4 years ago


Hi Dylan,

I am 100% sure that we use 4.0.2 gulp version. Did you download your package from your profile orders page? Do you use MDB-Gulp-Pro_4.8.7? If you are sure about that, please check package.json file. In the "devDependencies" there is a line about "gulp". It should be 4.0.2. If you answered yes to both questions it has to be 4.0.2

If you need additional help I am here for you.

Best Regards, Piotr


Dylan DeMarco priority commented 4 years ago

Hi Piotr,

I believe I am looking directly at the code in the MDB jQuery Pro gitlab under the 4.8.7 release.

Here is a link to the package.json I am referencing where gulp appears to be 3.9.1 still:

https://git.mdbootstrap.com/mdb/jquery/jq-pro/blob/8e8fc3f546b83ecc3e370e94661eaf816807055a/package.json

You are correct though that the version included from the Profile > Orders page does have the updated version of gulp. Not sure why there's a mismatch between the two.


MDBootstrap staff commented 4 years ago

Thank you for this information. This will be fixed in 4.8.8 release next Monday.


Dylan DeMarco priority answered 4 years ago


Hello!

I've checked in the 4.8.7 release of the MDB jQuery PRO repository and it appears that gulp and the gulpfile are still at the Gulp 3.9.1 version. Any further info on this upgrade?


TeddyS31 pro answered 5 years ago


Is there an update for this? gulp is now on 4.1 with the npm audit is getting bigger...


Bartłomiej Malanowski staff commented 5 years ago

This is still on our TODO list


TeddyS31 pro commented 4 years ago

I know I am resurrecting an old dead post but the latest node updates require gulp 4.0. So if anyone updates node, they won't be able to use this gulp build anymore unless they revert back to an earlier version.


Marta Wierzbicka staff commented 4 years ago

Hi, we updated gulp in our newest package which has 4.8.3 version. Best, Marta


TeddyS31 pro commented 4 years ago

Marta,

Have the instructions changed? The following error now happens with the latest version of MDB. `➜ gulp-test git:(master) ✗ gulp [12:49:30] Using gulpfile ~/resources/gulp-test/gulpfile.js /usr/local/lib/node_modules/gulp/bin/gulp.js:129 gulpInst.start.apply(gulpInst, toRun); ^

TypeError: Cannot read property 'apply' of undefined at /usr/local/lib/node_modules/gulp/bin/gulp.js:129:20 at process._tickCallback (internal/process/next_tick.js:61:11) at Function.Module.runMain (internal/modules/cjs/loader.js:757:11) at startup (internal/bootstrap/node.js:283:19) at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)`

this is the standard setup as before


Bartłomiej Malanowski staff commented 4 years ago

Please run npm i -g gulp-cli - this should resolve your issue



Currently, we're still using Gulp 3 (as you have noticed). We didn't try Gulp 4 yet, but we'll check it soon. I think that's the something we can update, but that needs time because of our development environment is mainly basing of Gulp



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: Other
  • MDB Version: -
  • Device: Macbook Pro
  • Browser: Chrome
  • OS: OS X Mojave
  • Provided sample code: No
  • Provided link: No
Tags