Comments (11)
There's an updated repo on npm via npm install --save-dev browser-sync-v3-webpack-plugin
from browser-sync-webpack-plugin.
@Jas-n when running npm install --save-dev browser-sync-v3-webpack-plugin
and then calling .browserSync()
, it will still say:
watch
> mix watch
Additional dependencies must be installed. This will only take a moment.
Running: npm install browser-sync-webpack-plugin@^2.3.0 --save-dev --legacy-peer-deps
Finished. Please run Mix again.
Which then proceeds to install the older version and the issue still persists.
from browser-sync-webpack-plugin.
@Jas-n This did not work for me. As soon as I attempted to mix:
watch
> mix watch
Additional dependencies must be installed. This will only take a moment.
Running: npm install browser-sync-webpack-plugin@^2.3.0 --save-dev --legacy-peer-deps
Finished. Please run Mix again.
from browser-sync-webpack-plugin.
@Jas-n This did not work for me. As soon as I attempted to mix:
watch > mix watch Additional dependencies must be installed. This will only take a moment. Running: npm install browser-sync-webpack-plugin@^2.3.0 --save-dev --legacy-peer-deps Finished. Please run Mix again.
That's normal for the first run.
Just run the run command again. You won't see it next time 😊.
from browser-sync-webpack-plugin.
I can confirm that the fix mentioned by @Jas-n does not work when using it together with the laravel-mix
package. Manual installation of the new package works fine, but laravel-mix
always installs the old browser-sync-webpack-plugin
automatically again. Unfortunately I didn't find a way to prevent this.
from browser-sync-webpack-plugin.
Just ran into this dependency conflict as well, when upgrading a project to browser-sync@3
from browser-sync-webpack-plugin.
Hi, I have the same problem.
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/browser-sync
npm ERR! dev browser-sync@"^3.0.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer browser-sync@"^2" from [email protected]
npm ERR! node_modules/browser-sync-webpack-plugin
npm ERR! dev browser-sync-webpack-plugin@"^2.3.0" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: [email protected]
npm ERR! node_modules/browser-sync
npm ERR! peer browser-sync@"^2" from [email protected]
npm ERR! node_modules/browser-sync-webpack-plugin
npm ERR! dev browser-sync-webpack-plugin@"^2.3.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
from browser-sync-webpack-plugin.
Same here:
warning " > [email protected]" has incorrect peer dependency "browser-sync@^2".
from browser-sync-webpack-plugin.
Same here
from browser-sync-webpack-plugin.
I can confirm that the fix mentioned by @Jas-n does not work when using it together with the
laravel-mix
package. Manual installation of the new package works fine, butlaravel-mix
always installs the oldbrowser-sync-webpack-plugin
automatically again. Unfortunately I didn't find a way to prevent this.
I am having the same issue. Security vulnerability still persists.
Could we get some other more people to review mozilla/ssl-config-generator#235 and abandon this project switching to a fork that supports v3? I am unsure of the etiquette here as this project hasn't had a release since 2020.
from browser-sync-webpack-plugin.
Related Issues (20)
- failed: Error during WebSocket handshake: Unexpected response code: 503 HOT 2
- Browser CSS is always version behind HOT 1
- How don't restrict CORS? HOT 1
- Browser reloads when build fails HOT 1
- Detect compilation trigger instead of referencing emitted assets when determining whether to inject css or reload HOT 5
- Module installation fails HOT 2
- enable only on certian ENV HOT 2
- 404
- Webpack 5 compatibility HOT 4
- Option to hide snippet info and access url HOT 1
- Doesn't work with WSL (Windows Subsystem for Linux) HOT 1
- Not reloading php partials in WordPress HOT 4
- When files array populated, browsersync forces a page reload HOT 1
- BrowserSync with MiniCssExtractPlugin and reload on inject changes from scss HOT 1
- Feature request: show complition errors via browserSync fullscreen message HOT 1
- Laravel Mix copy
- how to get the instance from node and trigger a reload?
- Incorrect Comparison in axios #1
- Webpack unable to find browser-sync-webpack-plugin unless browser-sync package is installed. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from browser-sync-webpack-plugin.