3,256 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&...
2
votes
2
answers
76
views
When in development mode, unable to GET bundle.js file, fails with 404 Not Found
While trying to run the application locally, browser is not able to load bundle.js
This is the setup to load up bundle.js inside index.html
<script type="text/javascript" src="/...
0
votes
1
answer
133
views
Webpack Hot Module Replacement (HMR) and Live Reload Not Working for JS and HTML Changes
I’m working on The Odin Project's Restaurant Page project and using Webpack to bundle my code. However, when I make changes to src/index.js or src/template.html, they are not reflected in the browser ...
2
votes
0
answers
68
views
show string array resource in kmp using wasmjs
From a project generated con Kotlin Multiplatform Wizard
I'm testing a web application with wasmJs ([email protected])
If I try to display a value from an array string loaded from string ...
0
votes
1
answer
128
views
webpack-dev-server WebSocket error: read ECONNRESET at TCP.onStreamRead
I'm facing this problem for a websocket proxy ws/**:
<i> [webpack-dev-server] [HPM] Upgrading to WebSocket
<e> [webpack-dev-server] [HPM] WebSocket error: Error: read ECONNRESET
<e> ...
1
vote
0
answers
19
views
webpack doesn't work when migrating files from .jsx to .tsx
after setup TypeScript for a React project I encountered a problem with webpack-dev-server's hot reload while migrating .jsx files. Whenever i take an existing .jsx file and change the name ending to ....
0
votes
0
answers
6
views
Containerized Webpack setup is not responding to file changes from mounted volume
I have a setup in which the changes of files in mounted volume is not being caught by Webpack. I have checked inside the container and the changes are happening to the file but Webpack is not catching ...
0
votes
1
answer
38
views
Why can not find the source vue component file in browser developer tool if vue component is written in typescript?
I am using vue2, my build tool is [email protected]. In order to debug the vue source component file easily, I add a configuration in output.devtoolModuleFilenameTemplate, the code is as below:
const ...
0
votes
0
answers
37
views
ERROR in ./node_modules/vuex/dist/vuex.esm-bundler.js vue-app
The app runs properly in npm reun electron:serve while running the command npm run build and npm run electron:build these error occurs
error in ./node_modules/vuex/dist/vuex.esm-bundler.js + 5 ...
0
votes
1
answer
35
views
Webpack 5 hot reload from different port (seperate application using the build)
The issue I'm stuck on is hot reload is trying to go to localhost:8000/build (where the application build is being used)
instead of localhost:3000/build which is the webpack-dev-server build location.
...
0
votes
0
answers
35
views
Using webpack + firebase, fs.js is creating paths to a directory rather than a file
I am trying to get a very basic project running using both webpack and firebase. However, I am running into issues when using firebase serve to locally host my site. The site should simply load ...
0
votes
0
answers
86
views
Webpack hot-reload or react-refresh-webpack-plugin not working
Trying to migrate an old react app to React 17 & Webpack 5, the app is loading now but hot-reload or react refresh webpack plugin is not working.
As soon as there's a change, the page crash and ...
0
votes
0
answers
54
views
pure_funcs does not work in terser-webpack-plugin
I have a log function that is used everywhere in my code with this pattern:
const log = anylogger('x.y')
...
log('information...')
and the terse plugin configuration is like below:
...
0
votes
0
answers
127
views
TypeError: Cannot read properties of undefined (reading 'tap') after moving index.html inside client folder in React project
I encountered an issue after restructuring my React project by moving the index.html file into a client folder. I started getting the following error when trying to run my development server:
[webpack-...
0
votes
0
answers
81
views
Webpack Watcher Error: "EISDIR: illegal operation on a directory" with WSL2 and Docker paths
I am working on a WooCommerce Storefront child theme and using Webpack for bundling. My development environment consists of DevKinsta, which relies on Docker, installed through WSL2. To resolve issues ...