freeCodeCamp / league-for-good

An open source sports league management tool
BSD 3-Clause "New" or "Revised" License
163 stars 106 forks source link

gulputil deprecation #73

Open naderabbara opened 6 years ago

naderabbara commented 6 years ago

Gulputil was deprecated (I'm not sure when) so now npm kills the install process.

What do I do from here?

(Using nodejs 6)

paulywill commented 6 years ago

@naderabbara can you please post some output or screenshots?

paulywill commented 6 years ago

I was able to reproduce the error:

image

paulywill commented 6 years ago

@naderabbara : according to article on Medium : https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5 This is just a warning until they resolve the problem.

I think npm probably still installed. Try to carry on this the installation instructions if you see these files: node_modules
npm-debug.log

joshghent commented 6 years ago

Took a quick look at this and it is actually an issue with gulp-decompress plugin. It has an open PR to fix the issue which then in turn should trickle up the dependancy tree and fix the issue with image-webpack-loader which league-for-good uses.

Below is a quick screenshot of where gulp-util is currently used

screen shot 2018-01-03 at 22 51 36
naderabbara commented 6 years ago

Thanks for the quick response all of you! I'll try to force update gulp-decompress using pieter's fork and report back tomorrow.

naderabbara commented 6 years ago

Sorry for the delay, had to delay due to illness.

I couldn't force an update or install over gulp-decompress so instead I copied the changes myself. Starting from a fresh install of nodejs and installing gulp-decompress from pieter's fork works as well. You might receive the deprecation warning if you do so, however npm will complete the process without any issue.

For those with the same issue try either of the above. I'll keep this open until the PR committed.

ref kevva/gulp-decompress#13