Open romanmarkelov opened 6 years ago
I, too, am having the same problem. Also with updating.
When running yarn upgrade browser-sync
and after removing, then running yarn add -D browser-sync
, I got this both times:
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
[4/4] 📃 Building fresh packages...
⠁
⠁
[1/2] ⠂ fsevents
[-/2] ⠈ waiting...
[-/2] ⢀ waiting...
[-/2] ⠈ waiting...
[2/2] ⠈ uws
[-/2] ⠈ waiting...
[-/2] ⠈ waiting...
[4/4] 📃 Building fresh packages...
[-/2] ⠁ waiting...
[2/2] ⠁ uws
[-/2] ⠁ waiting...
[-/2] ⠁ waiting...
[-/2] ⠁ waiting...
The same here. It works until version 2.19.0
. Any version higher it doesn't work anymore.
Update: I can't add any new packages without this issue happening and it appears to revolve around Browser-Sync:
@dmbdesignpdx try this https://github.com/yarnpkg/yarn/issues/5131#issuecomment-358956066.
After great patience, digging, and input from the Yarn team; there may be a simple fix. This issue might have to do with uws being out-of-sync with node-gyp.
Reinstall/install node-gyp by running npm install -g node-gyp
and see if that takes care of it.
thanks for the update @dmbdesignpdx - it's a shame this has happened in the first place, and i'm seriously considering moving away from socket.io because of this.
I absolutely detest packages that require building in the environment they are installed - I understand why, but every time I've ever included such a package it's resulted in these types of issues :(
I believe uws
is used when perf is an absolute must - but in reality Browsersync does not need screaming performance, no-where near in fact.
I upgraded yarn to 1.5.1. today and browser-sync installed without mistakes.
Issue details
browser-sync package not installing with yarn
Steps to reproduce/test case
yarn add browser-sync
Please specify which version of Browsersync, node and npm you're running
Affected platforms
Open same issue in yarn repository