gulp-declare icon indicating copy to clipboard operation
gulp-declare copied to clipboard

peerDependency issue npm3+

Open zslabs opened this issue 10 years ago • 4 comments

Running into an issue with one of the deps this lib depends on, inside vinyl-maps. Looks like there is a PR open to potentially fix it https://github.com/hughsk/vinyl-map/pull/11 but until that time, this lib doesn't appear to be working correctly with npm3+. Any suggestions or workarounds you'd recommend?

zslabs avatar Oct 05 '15 17:10 zslabs

Yeah looks like we have to wait for that to be merged.

lazd avatar Oct 05 '15 19:10 lazd

@lazd Would it be possible to switch the dependency to https://github.com/yoshokatana/vinyl-map2 ? That one is more actively maintained.

coryzibell avatar Nov 03 '15 16:11 coryzibell

@coryzibell yeah there are a few ways to remedy this. I'd accept a pull request to replace vinyl-map with a more basic way of handling the stream, but I'd avoid switching to a fork of vinyl-map unless @hughsk is MIA as that fragments the community.

lazd avatar Nov 03 '15 16:11 lazd

FYI installing the peer dependency works in the mean time.

npm install stream-browserify --save-dev

You can also use npm shrinkwrap and then edit the vinyl-map dependency directly, but shrinkwrap won't work until the peer dependency can be resolved. Kind of a catch 22.

benallfree avatar Nov 22 '15 23:11 benallfree