webpack-dev-server Questions
3
I have a host app and few micro front end apps all are angular 15. I've used "@angular-architects/module-federation": "^15.0.3". Everything works fine, except I could not interc...
Adis asked 2/4, 2023 at 12:28
5
Don't know why 2 days ago my projects ( created via vue create ) stopped working - in Chrome i get
Invalid Host Header
and
WDS Disconnected
errors. In cmd everything compiles properly( npm run ...
Fourway asked 23/12, 2018 at 20:4
5
Solved
I am taking a course on Udemy (it is Brad Schiff's React for the Rest of Us course here) that is based on React and I am receiving an error related to webpack which is keeping it from compiling.
I ...
Dudleyduds asked 18/2, 2021 at 7:41
2
Using webpack dev server, I'd like to have a proxy that proxies everything to the server, except my app. Except that the api, which has an endpoint under my app, should be proxied:
/myapp/api/** ...
Sharondasharos asked 17/10, 2017 at 19:52
5
Solved
I would like to get my variable from my .env file but I always get undefined
This is my js code :
require('dotenv').config();
class Header extends React.Component{
constructor(props){...}
rend...
Metaphase asked 15/3, 2019 at 15:11
3
I am using webpack - v5.90.3, webpack-cli - v5.1.4, webpack-dev-server - v5.0.2
In my webpack.config.dev.js:
const path = require('path');
const webpack = require('webpack');
module.exports = {
m...
Unconscionable asked 28/2, 2024 at 8:21
4
How do I suppress warnings generated by webpack loading post css files?
Warning example:
WARNING in ./~/css-loader!./~/postcss-loader!./src/components/Navigator/Navigator.css
postcss-custom-prope...
Dogy asked 11/8, 2016 at 7:15
3
Solved
I'm currently struggling with rewriting the proxy path to the api server.
In my setup what I do is for api request, I delegate it to the proxy server and only for js/html/css webpack-dev-server is...
Audit asked 15/7, 2019 at 1:48
9
Solved
On Friday I had a working dev environment. On Monday I had a broken one. I encountered this error message in the Chrome dev-tools console for all my assets:
Access to CSS stylesheet at 'http://loc...
Neddy asked 8/3, 2021 at 17:53
16
Solved
I'm trying to use webpack-dev-server to compile files and start up a dev web server.
In my package.json I have the script property set to:
"scripts": {
"dev": "webpack-dev...
Savarin asked 16/3, 2016 at 14:51
5
I just finished an angular project I was working on, but i
noticed something in the console, which I'd love to hide if that's
possible just to keep everything tidy.
It's the [webpack-dev-server] mo...
Woodard asked 6/5, 2022 at 15:41
5
Solved
I am running the command npx webpack-dev-server --mode development in my react application and getting the preceding error.
[webpack-cli] Invalid options object. Dev Server has been initialized usi...
Diapedesis asked 8/9, 2021 at 11:32
4
Solved
I'm using webpack-dev-server for hot module replacement. It's working just fine, but this error keeps showing up in the console every couple of seconds: GET http://mysite:8080/__webpack_hmr 404 (No...
Boomerang asked 27/12, 2016 at 9:9
1
I'm creating a little app that is bundled with webpack. I'm using sass in the project and all scss files are located in a scss located in the root directory. I've got some partials I've created in ...
Boldface asked 21/2, 2023 at 19:50
3
Solved
I have a Vue application generated with webpack-simple option. I am trying to make a GET request to https://api.forismatic.com/api/1.0/?method=getQuote&format=json&lang=en but I get the err...
Dewain asked 28/5, 2017 at 21:53
3
Solved
In order to use a module I want to integrate into my application (I am developing locally), I have to do two things:
1) Make my application run locally on HTTPS.
2) Run the application with a speci...
Noe asked 2/7, 2015 at 18:20
4
I have a VUE application and I need to run it on an external link not on localhost.
I tried to create a
vue.config.js
devServer: {
host: 'http://my-testing-web-address.com',
port: 8080,
...
}
...
Convexoconcave asked 3/5, 2019 at 9:55
5
Solved
I am trying to setup a Webpack configuration for a website I want to build. I want to compile SASS to CSS and place it into the dist folder. When I run npm run build it works fine but when I run np...
Abydos asked 22/2, 2018 at 20:24
13
Solved
I would like to know if there's a configuration option to tell webpack to only log the "important information" to the terminal. Pretty much just errors and warnings, not all of this:
There's jus...
Dolichocephalic asked 10/6, 2015 at 12:47
9
Solved
I am new to webpack and worked out almost all build sections, but now the problem is that I want to pass the environment variables from a .env file to webpack config, so that I can pass that variab...
Mitra asked 14/9, 2017 at 17:20
8
Solved
I cloned this Webpack Starter package through github using gitbash following a tutorial on pluralsight. I am trying to access webpack through Visual Studio Code's integrated terminal but i get the ...
Matted asked 14/8, 2018 at 20:26
5
I have a strange problem, I was wondering if anyone has experienced this. I have webpack in my app to bundle, serve and everything in between. I have noticed that when I compile and run webpack-dev...
Gadmon asked 30/11, 2017 at 12:47
16
I have a Vue project generated by the Vue cli 3 and my hot reloading suddenly stopped working in my browsers. Changes made to the code are still picked up by the terminal, however, my browser is no...
Schizophyceous asked 3/12, 2018 at 8:19
3
For my Angular project(Angular 14, webpack-dev-server 4.9.3), web-pack-server disconnected and trying to reconnect message constantly looping if the application is run under Chrome. But the message...
Daguerreotype asked 5/10, 2022 at 14:34
2
Solved
I am trying to make a POST request via an absolute URL to a Spring (Basic authentication) secured Rest API.
Having read that Angular omits inserting the X-XSRF-TOKEN into the request header automat...
Intercalary asked 28/12, 2017 at 6:28
1 Next >
© 2022 - 2025 — McMap. All rights reserved.