Skip to main content

All Questions

-1 votes
0 answers
25 views

Nested dependencies http-proxy-middleware of webpack-dev-server in package-lock.josn not updating from overrides package.json [closed]

Nested dependencies http-proxy-middleware of webpack-dev-server in package-lock.josn not updating from overrides package.json using next14.2.28, react18.3, and node 22.8 also webpack-dev-server latest&...
Sanjeev Puspam's user avatar
0 votes
3 answers
194 views

How to set up webpack devServer config to build another target

My project is using webpack v5.89.0. The package.json has start and prerelease script targets: scripts": { ..., "start": "webpack serve --mode development -c webpack.config.js&...
Alex Reynolds's user avatar
0 votes
0 answers
23 views

Vue2.x vue custom element when i passed param like 111. the dot at the end was removed. Is it well known issue? How to fix it

Vue2.x vue custom element when i passed param like 111. the dot at the end was removed. Is it well known issue? How to fix it. Step npm run build vue file use file from /dist in php project Problem ...
Supisara Khongthiang's user avatar
0 votes
0 answers
45 views

Webpack not watching SCSS glob imported files

I am using webpack to compile my scss files which works fine when initially running npx webpack or npx webpack --watch. When using npx webpack --watch, only my declared SCSS file (app.scss) in my ...
kymchee's user avatar
  • 19
1 vote
2 answers
327 views

Webpack dev server display doesn't source map my error

When I run my app on webpack server (webpack serve --open --config webpack.dev.js) I am testing the error source mapping. In a file print.js I have a bug. When I open the website from the server it ...
user14725643's user avatar
1 vote
0 answers
36 views

Compilation error using @tensorflow/tfjs-node in Scratch3 development

I am working on building an extension for Scratch3 to do machine learning using tensorflow.js. I forked out a repo from here. When I try to start, it ran into compilation error. Environment details: ...
daeronhing's user avatar
1 vote
1 answer
227 views

AzureDevOps build pipeline takes too long after webpack upgrade(more then one hour)

I joined a project which has a ci/cd pipeline, Recently i did some updates/upgrades on some dependencies spacially webpack version from "webpack": "^4.46.0" to "webpack": ...
Seif Ferhi's user avatar
0 votes
1 answer
228 views

Webpack-dev-server not hot reloading

We recently upgraded to NodeJS 20, and had to upgrade a bunch of other things. We updated from vue/cli-service 4 -> 5 and from Webpack 4 -> 5, which changed our webpack-dev-server to v4 The ...
Achiral's user avatar
  • 57
1 vote
0 answers
82 views

WebpackDevServer with `--max-old-space-size=32000` flag sometimes consumes more ram than onboard, but crashes before requesting Swap RAM

I'm trying to run an enormously complicated React application using WebpackDevServer. I'll include the config details below, but in short I'm running the new WebpackDevServer(compiler, config).listen()...
Caleb Jay's user avatar
  • 2,199
0 votes
1 answer
294 views

webpack compiled successfully, but http://localhost:8080/ returns 404 error

I installed npm: webpack webpack-cli css-loader node-sass sass sass-loader style-loader mini-css-extract-plugin And received: 404 error on http://localhost:8080 Cannot GET / package.json: { "...
Serhii Yunnikov's user avatar
2 votes
1 answer
806 views

Why is webpack serve throwing the error "You need to install 'webpack-dev-server' for running 'webpack serve'" while the dependency is installed?

Problem: I am trying to start my react application by running npm run start. This then throws the error "You need to install 'webpack-dev-server' for running 'webpack serve'" while I have ...
A.Vandijck's user avatar
0 votes
1 answer
741 views

Including rules for development and production mode separately in the webpack config file

I'm working on a front end project using html. In my project I'm using Webpack module bundler. I'm using image-webpack-loader package for optimizing images. now the problem is when I run development ...
Mahabub Hossain's user avatar
0 votes
1 answer
459 views

webpack config inside node_modules error (URL scheme "webpack" is not supported)

I'm trying to add webpack to an npm package, the idea is that with the command "package server" I start a webpack server rendering a js file. Basically I am making a small react clone, but I ...
Neyunse's user avatar
  • 13
1 vote
1 answer
429 views

react-scripts start not picking up js changes

I have a react application which I bootstrapped using create-react-app. The application runs in a docker container, and has been deployed in a subdomain. Let's say the domain is http://mycompany.com , ...
Abhishek's user avatar
4 votes
2 answers
4k views

HookWebpackError: Cannot read properties of undefined (reading 'e') -- inner error -- TypeError: Cannot read properties of undefined (reading 'e')

I use npx-create-react-app years, but now i can't build with run npm run build. Today still is work. I update node and npm. Clear the cahce with: npm cache clean --force None of the projects work. ...
Milán Nikolics's user avatar

15 30 50 per page
1
2 3 4 5
29