Skip to main content
Filter by
Sorted by
Tagged with
-1 votes
0 answers
47 views

I have latest version on node (v25.0.0) and npm (11.4.2) but still unable to download. I used below command npm i --save -D webpack It gave me up to date, audited 18 packages in 6s found 0 ...
Anand Deep Singh's user avatar
2 votes
1 answer
60 views

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/...
Aaron Meese's user avatar
  • 2,373
0 votes
0 answers
119 views

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....
Sukh Dev's user avatar
2 votes
2 answers
222 views

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="/...
mason's user avatar
  • 524
0 votes
1 answer
440 views

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 ...
Sven D's user avatar
  • 11
3 votes
1 answer
117 views

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 ...
Orlay Garcia Duconge's user avatar
0 votes
1 answer
232 views

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> ...
feelingreat's user avatar
1 vote
0 answers
26 views

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 ....
schmauso's user avatar
0 votes
0 answers
7 views

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 ...
Peiman Shokouhian's user avatar
0 votes
1 answer
63 views

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 ...
ahwyX100's user avatar
  • 605
0 votes
0 answers
42 views

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 ...
Aravindha S's user avatar
0 votes
1 answer
58 views

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. ...
Ave's user avatar
  • 83
0 votes
0 answers
409 views

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-...
max's user avatar
  • 333
1 vote
0 answers
69 views

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, ...
Loizm's user avatar
  • 33
0 votes
0 answers
79 views

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: ...
Boris Georgiev's user avatar
1 vote
0 answers
106 views

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-...
user3747198's user avatar
1 vote
0 answers
49 views

I'm trying to load hotModuleReplacement webpack plugin in my TwilioFlex plugin but I cannot figure out how to do it. As suggested in the documentation, I try to modify the config object from the ...
Emanuele Colonnelli's user avatar
0 votes
0 answers
294 views

I have a react-native application written in typescript which is bundled and deployed localy through webpack-dev-server. I've been trying to debug the application in VSCode. I've successfully compiled ...
Pan Wolodyjowsky's user avatar
0 votes
1 answer
51 views

slider.js ... const initialize = (pImages) => { pImages.forEach((image) => { const sliderItem = document.createElement("img"); sliderItem.src = image.src; // this line result ...
54935's user avatar
  • 1
0 votes
3 answers
319 views

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
1 answer
47 views

In the google chrome browser Inspect element on any element CSS is showing as ..., but CSS/SCSS file names not showing in the browser inspect element. I am working on a React micro-frontend project; ...
Noventiq's user avatar
1 vote
0 answers
89 views

I added something under "Resolutions" in my package.json file to resolve some vulnerabilities. Running npm install and npm run build works fine as expected. However after running npm run ...
nightcrewx's user avatar
1 vote
0 answers
132 views

I am trying to get successful hot reload behavior using react + webpack5 + docker. I have tried many ways. The main difference was noticed with “writeToDisk” option. If it is false, my /app/dist ...
Никита Шевченко's user avatar
0 votes
0 answers
75 views

I use webpack dev-server with npm and having simple config file all works perfectly except that I would like to have dev-server runnning the browser with additional url params attached to 'host' url. ...
northmantif's user avatar
1 vote
1 answer
80 views

When runing the react project which is configured with webpack and babel loder is giving and error saying unexpected token in jsx files.Please find bellow error snippit ERROR in ./src/index.js 10:12 ...
Tharindu Sandaruwan's user avatar
0 votes
0 answers
25 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. Step npm run build vue file use file from /dist in php project Problem ...
Supisara Khongthiang's user avatar
0 votes
0 answers
79 views

I am new to webpack and currently trying to see how it works, it should compile my typescript code and put the equivalent JS in the output file when I run the following command webpack serve here is ...
shoaib sabir's user avatar
1 vote
1 answer
33 views

I am able to suppress webpack logs to below. Logs for 3 compilations below: Webpack bundle stats plugin took 10174 ms 2024-06-14 13:42:29: webpack compiled successfully 2024-06-14 13:40:31: webpack ...
Deepak Yadav's user avatar
1 vote
0 answers
59 views

Hello Guys I've been working on creating a local dev env using Webpack to develop sites, the devServer.watchFiles was working until I installed the html-bundler-webpack-plugin I've tried all read all ...
Legend10's user avatar
1 vote
1 answer
42 views

I have just installed a Webpack server which also works. But it annoys me that I always have to reload the browser. So I tried to improve this with hot;true. It still does not work. This is a plain ...
Aaron Stupf's user avatar
1 vote
1 answer
591 views

I am working on a Django project and want to enhance the front-end using npm and webpack5. My web development experience has been primarily with Django, and I'm new to npm and webpack. I've run into a ...
Franklin's user avatar
  • 133
0 votes
0 answers
48 views

I'm reading the webpack5 doc. In the document's Guides -> Development -> Choosing a Development Tool -> Using webpack-dev-server,there is a tip as follows webpack-dev-server serves bundled ...
user24948077's user avatar
1 vote
1 answer
35 views

I am making a web application in vuejs and webpack but, webpack won't load the style classes declared in my component (style components). Apparently, the problem could be that the style-loader is ...
Erick Fabian Carrasco Talledo's user avatar
2 votes
2 answers
427 views

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
0 votes
2 answers
185 views

I have very simple webpack configuration for one Typescript file as the entry (partial config) ... config.entry = { launchEventsJS: { import: "./src/taskpane/launchEventsJS.ts", ...
Slava Ivanov's user avatar
  • 7,043
0 votes
1 answer
434 views

After updating webpack from version 4.46.0 to version 5.91.0, hot reload stopped working (not to be confused with live reload). Previously, the hot loader worked thanks to the library @pmmmwh/react-...
Калдар Кайрат's user avatar
1 vote
0 answers
49 views

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
0 votes
0 answers
63 views

I have a problem with electronjs app with reactjs using webpack-dev-server. I trying to npm start that setup and in console application is starting succesfuly but application window does not showing ...
Przemysław Młoczkowski's user avatar
0 votes
1 answer
285 views

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
0 answers
22 views

The problem is that we have to test code coverage in our angular project. So we use nyc, nyc modified source files(and insert some code to collect code coverage), but the issue is that while serving ...
Artem Budnik's user avatar
0 votes
1 answer
496 views

I forked (not ejected) Create React App 5 and have modified it slightly to fit my application: I change PUBLIC_URL to be file://build/ (I have an Electron app that loads a HTML file using file:// but ...
jared_hexagon's user avatar
0 votes
1 answer
86 views

I'm having a problem with a React project configured with Webpack and using Typescript. Containerized with Docker (CI/CD with gitlab) . Before we didn't use aliases on our project and builds in ...
Minos's user avatar
  • 276
2 votes
0 answers
407 views

I wanted to give Payload CMS (website template) a try and followed the documentation to install it in a new project. After following each step accordingly, running it via npm run dev lets webpack ...
Miratek's user avatar
  • 33
1 vote
0 answers
236 views

I am trying to learn microfrontend with reacts using modeuleFederation but facing an issue. I have 3 projects inside my director which are like main - running on port 8080 remote 1 (products) - ...
Naruto's user avatar
  • 119
0 votes
0 answers
89 views

We have a Vue 2.7 SPA at my workplace. Nobody ever configured a dev build for it, nobody ever used a debugger (it's a docker-compose environment). I'm currently implementing the dev build, and so far ...
winwin's user avatar
  • 2,124
2 votes
1 answer
250 views

I've got a small Typescript/React repo using webpack 5.72. With Hot Module Replacement enabled, I'd expect to be able to make component or CSS changes and have only the changed component or style ...
Rob Freundlich's user avatar
0 votes
2 answers
235 views

I am using a webpack on a project with webpack.config.babel.js so I can use esm systax I have this babel config "babel": { "presets": [ [ "@babel/preset-env", ...
Álvaro's user avatar
  • 2,678
10 votes
4 answers
8k views

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 = { ...
Jason1998's user avatar
  • 101
0 votes
1 answer
189 views

I'm trying to write hello, world with rust and wasm. Dev server works with "webpack": "^4.29.3", "webpack-dev-server": "^3.1.5" but if update to "webpack&...
Levap's user avatar
  • 331
-1 votes
2 answers
205 views

I have the default setup for unit tests (Jasmine and Karma). I need to write a unit test for a function that reads a provided Element node from an XMLDocument. While I could generate the DOMs ...
Nic's user avatar
  • 117

1
2 3 4 5
65