rochejul / gulp-angular-protractor

Gulp plugin to run protractor tests
MIT License
25 stars 25 forks source link

teapot error on vinyl@406 #49

Closed shareef84 closed 6 years ago

shareef84 commented 6 years ago

I constantly see teapot error on vinyl package which as pointed out by network administrator has caused by shrinkwrapped packages. any recommendation on this or any plan to remove npm-shrinkwrap in near future? appreciate your help.

rochejul commented 6 years ago

Hi Even if we remove the shrinkwrap file, you could have this error, because there is no wildcard version assocatied on the dependecy which use vinyl, which is gulp-util.

Maybe we could migrate to gulp-util@3.0.8 which uses vinyl at least 0.5.0.

Or don't use anymore gulp-util (which is deprecated): https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5

shareef84 commented 6 years ago

Thank You! I think I understand the solution. Do you think package-lock.json would be a better solution?

Problem my team as such is we use enterprise repo for plugin management not public npmjs repository. JFrog entreprise repository doesn't support shrink wrapped packages and causes our build to fail.

rochejul commented 6 years ago

Package-lock.json files are generated if there is no skrinkwrap file (this is the same format). So it cannot resolve the issue sadly.

I try to update the dependency as soon as possible

shareef84 commented 6 years ago

thanks again. I will wait for the update.

rochejul commented 6 years ago

gulp-utils seems to be used only for logging. And so could be replace with https://www.npmjs.com/package/fancy-log

rochejul commented 6 years ago

And we have to use too https://www.npmjs.com/package/plugin-error

rochejul commented 6 years ago

Release 1.2.0 done

shareef84 commented 6 years ago

thanks! I pulled latest version and it worked like a charm. I appreciate your help