3,236 questions
2
votes
1
answer
62
views
Webpack build suddenly failing because of `react-dev-utils` [closed]
I am suddenly unable to build my Webpack frontend, I randomly began getting this error despite not making any changes to the code:
Starting the development server...
/home/username/Documents/frontend/...
0
votes
0
answers
120
views
Issue with running the web build after upgrading to Expo 53 and React Native 0.79
enter image description here
What I tried:
Updated to Expo 53 and React Native 0.79.
Added babel-loader to webpack.config.js to transpile @ui-kitten/components and react-native modules.
Set up babel....
2
votes
2
answers
225
views
When in development mode, unable to GET bundle.js file, fails with 404 Not Found [closed]
While trying to run the application locally, browser is not able to load bundle.js:
This is the setup to load bundle.js inside index.html:
<script type="text/javascript" src="/...
0
votes
1
answer
449
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 ...
3
votes
1
answer
120
views
How to show string array resource?
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
236
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
27
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
7
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
63
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
42
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
59
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
425
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-...
1
vote
0
answers
73
views
How to fix webpack breaking for a specific package?
So, lately, I've been tasked to develop a new tool, and to accomplish that I needed to install the @mui/x-charts package. After I was done coding and testing, I tried to build it for production, ...
0
votes
0
answers
79
views
webpack-dev-server error: "Cannot GET / "
I am trying to run a Webpack Dev Server. I am using TypeScript.
I receive the following error when I open my http://localhost:8080/ I receive the error:
Cannot GET /
Here is my webpack.config.js file:
...
1
vote
0
answers
110
views
Angular 17 Nx Dynamic Module Federation Webpack ModuleFederationDevServer CORS on node modules
Access to script at 'node:module' from origin 'http://localhost:4200' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: chrome, chrome-extension, chrome-...