webpack-dev-server Questions
9
I have installed webpack using
npm install -g webpack
and
npm install webpack
I also installed webpack-dev-server
npm install -g webpack-dev-server
After completion of installation, I r...
Tilden asked 30/6, 2017 at 11:14
6
I have a project that's been running perfectly for a few months now, able to run npm run serve with no problem. I have to terminate and run the command again whenever I switch networks, but that ha...
Radioscope asked 26/3, 2019 at 2:26
2
Solved
I'm trying to setup a webpack dev server but for a reason, I'm running into an error.
[webpack-cli] Invalid options object. Dev Server has been initialized using an options object that does not ma...
Oligocene asked 10/12, 2021 at 20:3
2
I have a package A that depends on package B. I am using yalc to update B and publish changes locally so that A can pick up these changes.
I can see that the changes are copied into A's node_module...
Staurolite asked 8/2, 2022 at 8:19
5
When I'm working with a webpack-dev server, the problem sometimes occurs
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
more here
Config webpack.config.js
"...
Lordsandladies asked 26/7, 2018 at 10:25
11
Solved
'Github' asked me to update 'webpack-dev-server' to version 3.1.11 or higher for security reasons.
However, 'npm run dev' will not run after the update.
I don't solve this problem
Error: Cannot ...
Hogg asked 6/1, 2020 at 11:49
3
Solved
I have debugger for chrome extension installed. I run my app using
webpack-dev-server -d --config webpack.dev.js --inline
I'm running a react app, all source codes are under /src folder. I have...
Tray asked 15/3, 2020 at 12:53
4
Solved
I’m using react-app-rewired and I want to disable the overlay for Typescript warnings that appears every time I compile. For reasons I don't understand, warnings that the VSCode Typescript ch...
Slush asked 9/2, 2022 at 14:54
2
Solved
i have a problem at run build production in webpack. but when i run using dev-server, more code can't get error. please help.. I have to finish my last project and it must run with good at producti...
Applewhite asked 25/5, 2020 at 13:43
2
PS C:\Projects\webpack_react_starter> npm run start
[email protected] start
webpack serve --mode development --env development --hot --port 3000
C:\Projects\webpack_react_starter\node_mod...
Recombination asked 13/7, 2021 at 5:10
3
Solved
I am using the webpack-dev-server in development mode (watch). Some json and js files are crowding my build directory every time the server reloads like so :
'hash'.hot-update.json:
{"h":...
Tomikotomkiel asked 16/3, 2018 at 13:22
5
webpack.config.js
const path = require('path');
const webpack = require('webpack');
module.exports = {
entry: './src/index.js',
plugins: [
new webpack.HotModuleReplacementPlugin()
],
output:...
Hortensiahorter asked 19/6, 2017 at 18:40
5
I have a global extension that defines a method called 'is'. The issue that I'm having is ESLink flags it as "no-undef"; despite the fact that it is available at run-time.
Disabling the rule is not...
Jahn asked 18/3, 2020 at 16:11
1
Getting this error in rails 6, in rails 5 it was a easy fix after updating the application to rails 6, including webpack this error is appear every where I try to close the model inside the js.erb ...
Twombly asked 13/6, 2020 at 11:59
4
My employer has a number of Angular 2+ apps that are under active development. These apps are hosted behind an nginx reverse proxy. For example, during development, one app might be reachable at:
...
Nadabus asked 14/5, 2018 at 17:17
5
Solved
How can I determine if webpack.config.js was loaded via webpack vs webpack-dev-server?
Adowa asked 19/1, 2016 at 21:33
3
Can anyone direct me in the right direction?
So i've setup the webpack-dev-server with the truffle suite demo, just to get a basis on the foundation of my app. So my config file includes index.ht...
Matronna asked 18/1, 2018 at 13:51
9
Solved
I use Webpack dev server and browserHistory in React Router to manipulate with urls by HTML5 History API. historyapifallback-option does not work in my webpack config file. After refreshing http://...
Vibration asked 17/5, 2016 at 8:37
3
Solved
I am trying react module federation. I have created two react apps(modulefederation1, modulefederation2) using create-react-app command. I am getting 'Uncaught Error: Shared module is not available...
Decathlon asked 17/5, 2022 at 12:15
11
I'm using this angular 4 seed app: https://github.com/2sic/app-tutorial-angular4-hello-dnn
It uses webpack and works fine.
It only seems to serve the dev files and not the dist/ folder.
I want t...
Succuss asked 13/4, 2017 at 10:16
4
Solved
Project directory structure.
Below are the webpack configuration files.
webpack.config.client.js
const path = require('path');
const webpack = require('webpack');
const CURRENT_WORKING_DIR = p...
Invariant asked 11/4, 2021 at 5:55
10
Solved
When I upgrade webpack to 4.0.0-beta.3 and run npx webpack serve I get this error:
[webpack-cli] Invalid configuration object. Object has been initialized using a configuration object that does not...
Imprecise asked 10/6, 2021 at 18:12
25
Solved
I am using as an environment, a Cloud9.io ubuntu VM Online IDE and I have reduced by troubleshooting this error to just running the app with Webpack dev server.
I launch it with:
webpack-dev-ser...
Syntax asked 25/4, 2017 at 19:45
0
I did a switch to a project to build a consistent mono repo.
I have a pretty classical structure with apps and package folders.
Inside the packages folder, I have a bunch of small functions-loaded ...
Alanna asked 15/4, 2023 at 15:1
2
Solved
As the tittle suggest i can't get routes like
<Route path="/events/:id" component={EventDetailRoute} />
to work, and as i've read seems to be that the bundle in the index.html must be abso...
University asked 16/7, 2017 at 21:9
© 2022 - 2025 — McMap. All rights reserved.